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