If you want to divide value need result as int then normally we use intval function but some case it give wrong result. This is simple code which result wrong

<?php echo intval(69.6 / .1); ?>

Then final result is :

Result :695 // which is wrong Result will be : 696

so in this case first we need to make round value result then convert int, this is demo code which will work

<?php echo intval(round(69.6 / .1),2); ?>

then the result is :

Result is : 696 // which is correct

So if you divide something then need result as int then use round function