sprintf("%.2f", fmod(floatval($a), $b));
PHP - 对两个浮点数取余
最新推荐文章于 2022-08-02 09:40:40 发布

sprintf("%.2f", fmod(floatval($a), $b));