Pchp.Library.PhpMath.hexdec C# (CSharp) Метод

hexdec() публичный статический Метод

Hexadecimal to decimal. 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.
public static hexdec ( string str ) : PhpNumber
str string The hexadecimal string to convert.
Результат PhpNumber
        public static PhpNumber hexdec(string str)
        {
            if (str == null)
                return PhpNumber.Default;

            return ConvertToLong(BaseToDouble(str, 16));
        }