Programming/PHP / / 2020. 11. 13. 11:23

몫, 나머지 구하기...

728x90
$a = 1000;
$b = 43;
$remainder = $a % $b;
$quotient = ($a - $remainer) / $b;

 

반응형