3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $price = round(59.16 * 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 sgOW8
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
388.06 38806 388.06 38806