flo.numerator â integer
Instance Public methods
Returns the numerator. The result is machine dependent.
1 2 3 | n = 0 . 3 .numerator #=> 5404319552844595 d = 0 . 3 .denominator #=> 18014398509481984 n.fdiv(d) #=> 0.3 |
Please login to continue.