STR$
Returns a string representation of a numerical value.
Implemented by: bw32, FreeBASIC, EndBASIC
With variations: ugBASIC (see STR$)
Also written as:
Usage
STR$ usefulness can be better understood by some examples of applications:
- Concatenation of numerical values and strings, like for generating a postal address
Variations
Examples
50 FOR H = 1 TO 54 STEP 6 60 PRINT "Andretti Street, " + STR$(H) 70 NEXT I