6.7.4 Denominator of a fraction after simplification: denom getDenom
The denom command finds the denominator
of a fraction.
getDenom is a synonym for denom.
-
denom takes one argument:
r a fraction.
- denom(r) returns the denominator
of r after it has been reduced to lowest terms. (For rational
expressions see Section 6.32.4).
Example.
Input:
denom(42/12)
or:
getDenom(42/12)
Output:
To avoid simplification, the argument must
be quoted (see Section 6.12.4).
(For rational expressions see Section 6.32.3).
Input:
denom(’42/12’)
or:
getDenom(’42/12’)
Output: