/** * Converts a string with a hexadecimal integer into the corresponding decimal integer and returns it as another * string. * * The input string may be prefixed with "0x". * * @param string $number The string with the number to be converted. * * @return string The string with the converted number. */ public static function hexToDec($number) { assert('is_cstring($number)', vs(isset($this), get_defined_vars())); $number = self::normalize($number, self::NF_KC); return CString::hexToDec($number); }