Programming/PHP

몫, 나머지 구하기...

옥수수빵 2020. 11. 13. 11:23
728x90
$a = 1000;
$b = 43;
$remainder = $a % $b;
$quotient = ($a - $remainer) / $b;

 

반응형