The hexdec() function converts a hexadecimal number to a decimal number.
number hexdec ( string $hex_string )
Returns the decimal equivalent of the hexadecimal number represented by the hex_string argument. hexdec() converts a hexadecimal string to a decimal number.
Parameter | Description |
---|---|
Hex_string | The hexadecimal string to convert |
The decimal representation of hex_string