up previous next
Den

denominator
Syntax

Den(N:INT or RAT):INT
Den(N:POLY or RATFUN):POLY


Description
These functions return the numerator and denominator of N. The numerator and denominator can also be found using .Num and .Den (fragile).

Example
  Den(3);
1
-------------------------------
  Den(x/(x+y));
x + y
-------------------------------
  X := 2/3;
  X.Num; X.Den;
2
-------------------------------
3
-------------------------------


See Also