3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $price = floatval(10); $our_price = $price - floatval(.10); echo number_format($our_price, 2, '.', ''); ;
based on o6f8s
Output for 4.3.0 - 7.1.0
9.90