hexdec

Example

 number hexdec ( string $hex_string ) 

Description

Returns the decimal equivalent of the hexadecimal number represented by the hex_string argument. hexdec() converts a hexadecimal string to a decimal number. hexdec() will ignore any non-hexadecimal characters it encounters.

Return Values

The decimal representation of hex_string