Flowdock
method

numerator

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Float
numerator() public

Returns the numerator. The result is machine dependent.

For example:

n = 0.3.numerator    #=> 5404319552844595
d = 0.3.denominator  #=> 18014398509481984
n.fdiv(d)            #=> 0.3
Show source
Register or log in to add new notes.