tohexstring — Converts an integer to a hexadecimal string.
string tohexstring (
)
number
Number
width
Width
number in Hex
tohexstring (31, 1) -> "0x1f" tohexstring (31, 4) -> "0x001f"