previous next |
3.2.3. Numerators and Denominators for Rational Numbers |
If F is a variable holding a fraction, then F.Num and F.Den are the numerator and denominator, respectively. The functions 'Num' and 'Den', respectively, return the same. |
Example |
F := 3/5; F.Num; 3 ------------------------------- F.Den; 5 ------------------------------- Den(F); 5 ------------------------------- 1.75; 7/4 ------------------------------- It.Num; 7 ------------------------------- |
See also: |