rat

[format descriptor] rat [n]

RRRS, R3RS: express as a rational fraction. n specifies the largest denominator to be used in constructing a rational approximation to the number being expressed. If n is omitted it defaults to infinity.

See also number->string.