A string function which returns the string form of the numeric argument as it would have been printed.
If the most significant byte of @% is not zero, STR$ uses the current @% description when generating the string. If it is zero (the initial value) then the G9 format (see PRINT) is used.
If STR$ is followed by ~ (tilde) then a hexadecimal conversion is carried out.
A$=STR$(PI) B$=STR$~(100) :REM B$ will be "64"
The opposite function to STR$ is performed by the VAL function.