[↑]
STR$
Convert numeric value to string
STR$(NumericValue[,NumberOfDigits])
Arguments
NumericValue
The number you want to convert to a string
NumberOfDigits
Specified when you want to right align with the specified number of digits: 0 to 63
・If the number of digits of the numerical value is larger than the specified number of digits, the specification is ignored.
・When 0 is specified, no alignment is performed.
・0, if not specified.
Return Value
Converted string (123 → "123")
Example
S$=STR$(123)
About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the
official reference site
of the
SmileBoom Co.Ltd.
that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it.
For automatic update, contents may become improper.
Please confirm the correct content in an official site.
June 3, 2020
by mim
OK
|