hex: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
(No difference)
|
Latest revision as of 23:59, 15 March 2023
hex() Function
Returns a string which contains the hexadecimal representation of the number that was passed in.
Usage
[h: hexVal = hex(num)
Examples
[r: hex(23)]
Returns 0x17.
[r: hex(10)]