3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $amount = (12322312.22/1000); echo ($amount - floor(round($amount,2))) * 1000 ; //echo ($amount*1000); //echo (12.33 % 1000);
Output for 5.4.35 - 7.1.0
312.2199999998