### 5.8.4 Denominator of a fraction after simplification : denom getDenom

denom or getDenom takes as argument a fraction and returns the denominator of this fraction after simplification (for rational fractions see 5.31.4).
Input :

denom(42/12)

or :

getDenom(42/12)

Output :

2

To avoid simplifications, the argument must be quoted (for rational fractions see 5.31.3).
Input :

denom(’42/12’)

or :

getDenom(’42/12’)

Output :

12