previous next |
Num, Den |
Syntax |
Num(N:INT or RAT):INT Den(N:INT or RAT):INT Num(N:POLY or RATFUN):POLY Den(N:POLY or RATFUN):POLY |
Summary |
numerator, denominator |
Description |
These functions return the numerator and denominator of N. The numerator and denominator can also be found using '.Num' and '.Den'. |
Example |
Num(3/2); 3 ------------------------------- Den(x/(x+y)); x + y ------------------------------- X := 2/3; X.Num; X.Den; 2 ------------------------------- 3 ------------------------------- |
See also: |