Numerator and denominator of a fraction: f2nd fxnd

### 5.7.5 Numerator and denominator of a fraction: f2nd fxnd

The f2nd command finds the numerator and denominator of a fraction.
fxnd is a synonym for f2nd.

- f2nd takes one argument:
  r, a fraction.
- f2nd(r) returns the list of the numerator and denominator of r after it has been reduced to lowest terms. (For rational expressions see Section 5.32.5).

#### Example.

Input:

f2nd(42/12)

Output:

⎡ ⎣ | 7,2 | ⎤ ⎦