3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = (float)(44.28); $multiple = (float)(0.35); $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 if(is_int(round($calc))) die("is integer"); else die("is not integer");

preferences:
46.34 ms | 402 KiB | 5 Q