RPTools

Personal tools
From MapToolDoc

hex

hex() Function

Returns a string which contains the hexadecimal representation of the number that was passed in.

Usage

  1. [h: hexVal = hex(num)

Examples

  1. [r: hex(23)]

Returns 0x17.

  1. [r: hex(10)]

Returns 0xA.