3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $amount = 300.00; var_dump(floor($amount * 100));
Output for 4.3.0 - 7.1.10
float(30000)