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