Skip to content

STR

STR(<numeric value>)

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

REM Convert numeric expression to value
LET a = -5.2
PRINT STR(a + 1)
  • This function is 100% Sinclair BASIC Compatible