Community QBasic

Rebooting the QBasic we all know and love!


Project maintained by Cory Smith

STR$

Returns the string representation of a numeric expression.

Syntax

STR$(numeric_expression)

Comments

numeric_expression is any numeric expression.

STR$ is the complementary function to VAL.

Example

x$ = STR$(3.2718)
PRINT x$

See Also