3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $total = 12.63; $discount = -23; echo round(($total / 100) * $discount,2);
Output for 4.3.0 - 7.1.0
-2.9