//回傳兩數相除之商和余數
function get_div_and_mod($left_operand, $right_operand)
{
$div = intval($left_operand / $right_operand);
$mod = $left_operand % $right_operand;
return array($div, $mod);
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/108979.html
標籤:PHP
下一篇:[Linux] 解決nginx: [emerg] directive "rewrite" is not terminated by ";"
