STR$

Function

STR$ converts a numeric expression to a string.

Syntax

STR$(N)

where N is a numeric expression.

Examples

10 A = 123.6
20 B$ = STR$(A)

Sets B$ = “123.6”

10 A = 7.941E12
20 B$ = STR$(A)

Sets B$ = “7.941E12”

Remarks

This function permits the use of string operations on numbers.

Exponential notation numbers are represented literally in string form.