STR$/WSTR$

Top  Previous  Next

Syntax

STRING = STR$(num as DOUBLE)

WSTRING = WSTR$(num as DOUBLE)

Description

Converts a number to a string.

Parameters

num - Number to convert.

Return value

String representation of number.

Remarks

SETPRECISION controls number of decimal places converted.

See Also: USING, SETPRECISION

Example usage

A$ = STR$(1.23)