hexdec

(PHP3 , PHP4 )

hexdec -- Hexadecimal to decimal

Description

int 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. The largest number that can be converted is 7fffffff or 2147483647 in decimal.

See also the dechex() function.