hex: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added MacroFunction template and Mathematical Function category)
m (Conversion script moved page hex to Hex without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:18, 9 February 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)]
Returns 0xA.