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

Prev:denominator ( a/b -- b )


Vocabulary
math

Inputs
a/ba rational


Outputs
aan integer
ba positive integer


Word description
Extracts the numerator and denominator of a rational number.

Definition

GENERIC: >fraction ( a/b -- a b )


Methods