Universeorange.com/Docs/

R3m/framework Function reference math.hex.dec

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

Hexadecimal to Decimal value.
Returns the decimal equivalent of the hexadecimal number represented by the number argument.
{math.hex.dec()} converts a hexadecimal string to a decimal number.

{math.hex.dec()} will ignore any non-hexadecimal characters it encounters.
As of PHP 7.4.0 supplying any invalid characters is deprecated.

Returns The decimal representation of number as a float | int.

More information:

https://www.php.net/manual/en/function.hexdec.php

Last modified: 2021-06-07

© 2021 universeorange.com