[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

numerator? denominator?



Er, are there any functions for getting the numerator/denominator of a
rational number?

That is, is there any function that I can use to get:
numerator(2/3)
=2
denominator(2/3)
=3

or such?
-- 
  -nils