STR

Syntax

STR(<numeric value>)

Description

Converts the given numeric value to a String. It's the opposite of VAL Returned value type is String.

Examples

REM Convert numeric expression to value
LET a = -5.2
PRINT STR(a + 1)

Remarks

  • This function is 100% Sinclair BASIC Compatible

See Also