3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fPrice = round(289.78 * 6.55957, 2); $fPrice = number_format($fPrice, 2, "", ""); //$fPrice = str_replace(".", "", $fPrice,); echo $fPrice;
based on R1eXI
Output for 4.3.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
190083
Output for 4.3.0 - 4.3.6
1900.83