Denominator

Denominator[f]

Denominator[f] gives the denominator of fraction f. f can be written in any form, including simple fractions, mixed fractions, or as a division.

Example in out
The denominator of 1/2. Denominator[ 1/2 ] 2
Give the denominator of the mixed fraction -1 2/3. Denominator[Rational[-1,1,2,3]] 3
The denominator of x, when x is defined as 22/7 in the script. Denominator[x] 7
The denominator of 2/6. Denominator[2/6] 6