# Numerator of a fraction after simplification: numer getNum

### 5.7.3 Numerator of a fraction after simplification: numer getNum

The numer command finds the numerator of a fraction.
getNum is a synonym for numer.

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

#### Examples.

- Input:
  numer(42/12)
  or:
  getNum(42/12)
  Output:

  7

- To avoid simplification, the argument must be quoted (see Section 5.12.4).
  (For rational fractions see 5.32.1).
  Input:
  numer(’42/12’)
  or:
  getNum(’42/12’)
  Output:

  42