< Futurebasic < Language < Reference
STR$
Syntax
numberString$ = STR$(numericExpr)
Description
This function returns a string consisting of the characters in the decimal representation of numericExpr. If the number is non-negative, then numberString$ will also have a leading space character (if the number is negative, the first character will be the minus sign). STR$ formats the number in a reasonable way; if you need the number to appear in a special format, use string functions such as USING, HEX$, etc.
Generally speaking, STR$ is the inverse of the VAL function.
See Also
VAL; PRINT; HEX$; USING
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.