- preg_match: documentation ( source)
<?php
$count = (float)(44.28);
$multiple = (float)(0.36);
$calc = $count / $multiple;
//$calc = 44.28 / 0.36 = 123
//$calc = number_format($calc, 2, '.', '');
if(preg_match('/~^[0-9]+$/', $calc))
die("is integer");
else
die("is not integer");