PHP自定义函数:将十进制整数转换为十六进制
function unt_1(int $n){ if($n >= 0){ return dechex($n); } else { return '-' . dechex(abs($n)); } }
原文地址: https://www.cveoy.top/t/topic/jv79 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
function unt_1(int $n){ if($n >= 0){ return dechex($n); } else { return '-' . dechex(abs($n)); } }
原文地址: https://www.cveoy.top/t/topic/jv79 著作权归作者所有。请勿转载和采集!