int this-> HextoInt(string )

(Caronte Pcode version 2.0)

Description

int this->HextoInt( string );

Returns the decimal equivalent of the hexadecimal number represented by the hex_string argument. HextoInt() converts a hexadecimal string to a decimal number.
The largest number that can be converted is 4ffff or 65535 in decimal.

Example.

Source:

CS_ANTISPAM_SCRIPT this = new CS_ANTISPAM_SCRIPT($_this);

this->Print(this->Format("%d",this->HextoInt("ffff")));




Out:

65535