Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
number>string ( n -- str )
Factor documentation
>
Factor handbook
>
The language
>
Numbers
>
Converting between numbers and strings
Next:
>bin ( n -- str )
Vocabulary
math.parser
Inputs and outputs
n
a
real
str
a
string
Word description
Converts a real number to a string.
Notes
Printing complex numbers requires the more general prettyprinter facility (see
The prettyprinter
).
See also
string>number
Definition
IN:
math.parser
:
number>string
( n -- str )
10
>base
;
inline