Futurebasic/Language/Reference/strstring
STR$
editSyntax
editnumberString$ = STR$(numericExpr)
Description
editThis 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
editVAL; PRINT; HEX$; USING