[↑]
HEX$
Convert a numeric value to a hexadecimal string
HEX$(NumericValue[,NumberOfDigits])
Arguments
NumericValue
Numerica value to be converted to hexadecimal string
・If a Real is specified, the decimal part is rounded toward zero.
NumberOfDigits
Number of degits with a hexadecimal character string to be output: 0 to 8
・If a value of 1 or more is specified, a string with placing 0 at the beginning is returned.
・When 0 is specified, 0 is not placed at the beginning.
・0, if not specified.
Return Value
Conversion result hexadecimal string
Example
S$=HEX$(65535,4)
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
|