Jump to content

Futurebasic/Language/Reference/strstring

From Wikibooks, open books for an open world

Syntax

[edit | edit source]

numberString$ = STR$(numericExpr)

Description

[edit | edit source]

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

[edit | edit source]

VAL; PRINT; HEX$; USING