I understand 15 mod 5 = 0 because there is no remainder from the division.
But why does 15.5 mod 5 == 0 also? Isn't there .5 remaining?
$time = "15.5";
$interval = 5.0;
if($time % $interval == 0)
echo "it's time!";
else
echo "not time";
//Outputs: it's time!