Hi,
i'm trying to find out the remainder of a division (if there is one that is)
however when i try my remainder somehow seems to be rounding up.
<?php
$total = 218;
echo $total % 11; // This returns 9
//however
echo $total / 11; // Returns 19.81
// i want the '8' part so i can use it for a another equation
?>
i tried using floor() .... for some reason, however i got no luck.
i also tried 218 / 11 on a calculator, and got 19.8, so why does
218 % 11
return 9, and not 8?