Flowdock
method

numerator

Importance_1
numerator() public

Returns the numerator.

For example:

Rational(7).numerator        #=> 7
Rational(7, 1).numerator     #=> 7
Rational(9, -4).numerator    #=> -9
Rational(-2, -10).numerator  #=> 1
Show source
Register or log in to add new notes.