numerator ( a/b -- a )
Factor handbook » The language » Numbers » Rational numbers

Prev:ratio
Next:denominator ( a/b -- b )


Vocabulary
math

Inputs
a/ba rational


Outputs
aan integer


Word description
Outputs the numerator of a rational number. Acts as the identity on integers.

Definition


Methods