[procedure] number->string z [radix]

R5RS: The implementation must support at least 2, 8, 10 and 16 as radix for exact z, and 10 for inexact z.

See also string->number.

[procedure] number->string z [radix [precision]]

R6RS: Adds optional precision argument to specify mantissa width of an inexact number z. The implementation need only support radix 10 if precision is given. The result must contain "|p" notation.

[procedure] number->string number format


See also int, rat, fix, flo, sci, rect, polar, heur, exactness and radix.

[procedure] number->string z [radix use-upper?]

Gauche adds optional user-upper? that indicates uppercase letters for digits over 10.