Previous Up Next

5.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.

Example.

Input:

denom(42/12)

or:

getDenom(42/12)

Output:

2

To avoid simplification, the argument must be quoted (see Section 5.12.4).
(For rational expressions see Section 5.32.3).
Input:

denom(’42/12’)

or:

getDenom(’42/12’)

Output:

12

Previous Up Next