numerator

flo.numerator â integer
Instance Public methods

Returns the numerator. The result is machine dependent.

n = 0.3.numerator    #=> 5404319552844595
d = 0.3.denominator  #=> 18014398509481984
n.fdiv(d)            #=> 0.3
doc_ruby_on_rails
2015-04-07 02:58:41
Comments
Leave a Comment

Please login to continue.