numerator(q)

Returns the numerator of rational number q.


See also denominator isRational 


Example


numerator( 33/5 )

33