R3m/framework Function reference math.dec.hex

{math.dec.hex(Int $number)}

Decimal to hexadecimal value.
As PHP's int type is signed, but {math.dec.hex()} deals with unsigned integers, negative integers will be treated as though they were unsigned.

Returns a string containing a hexadecimal representation of the given number argument.

More information:


Last modified: 2021-06-07

© 2021 universeorange.com