3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 55.555555; echo round($a, 2). "\n"; echo sprintf('%01.2F', $a). "\n"; echo bcmul($a, 100). "\n";
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
55.56 55.56 5555
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
55.56 5555
Output for 4.3.0 - 4.3.1
55.56 5500