Home >Backend Development >PHP Tutorial >PHP takes remainder
I want to know what 21712341byte is in the K position, what about the M position, and the G position? This is equivalent to a hexadecimal conversion problem. It’s just that the base system to be converted now is 1024.
//Get the numerical value in the base digit function getRemainder($num, $bin, $pos, &$result = 0){
//author lianq.net
|