Previous Up Next

7.2.4  Denominator of a fraction after simplification

The denom or getDenom command finds the denominator of a fraction.

Example

denom(42/12)

or:

getDenom(42/12)
     
2           

To avoid simplification, the argument must be quoted (see Section 9.1.4).

(For rational expressions see Section 11.6.3).

denom('42/12')

or:

getDenom('42/12')
     
12           

Previous Up Next