3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = (float)(44.28); $multiple = (float)(0.36); $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 $calc = number_format($calc, 2, '.', ''); echo ceil($calc)."\n"; if(is_int($calc)) die("is integer"); else die("is not integer");

preferences:
41.56 ms | 402 KiB | 5 Q