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

Re: numerator? denominator?



On Wed, Feb 02, 2000 at 01:35:12AM -0500, Nils Barth wrote:
> 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?

Now there are, exactly as above

George