3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $price = round(59.15 * 6.55957,2); echo $price."\n"; echo str_replace(".", "", $price)."\n"; $price = number_format($price, 2); echo $price."\n"; $price = str_replace(".", "", $price); echo $price."\n";
based on HmcHm
Output for 4.3.0 - 7.1.0
388 388 388.00 38800