STR$

This command will return a string representation of the value provided.

  Syntax
Return String=STR$(Value)
Return String=STR$(Double Float)
Return String=STR$(Value, Decimal Places)
Return String=STR$(Double Integer)
  Parameters
Value
Float
The value to convert to a string
Decimal Places
Integer
The number of decimal places to use when creating the string

  Returns

The value returned is a string version of the specified value

  Description

The value provided should be an integer value. You can optionally specify an additional parameter to force the return string to use a fixed number of decimal places.

  Example Code
PRINT "Convert the number forty two to a string "+STR$(42)
WAIT KEY
  See also

TEXT Commands Menu
Index