Documentation
›
API Reference
›
Object
›
Math
Hex
Lua
C++
This function converts a number to a hexadecimal value.
Syntax
string
Hex
(number n)
Parameters
n:
number to convert.
Returns
Returns a hexadecimal value for the specified number.