3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(sprintf('%.3f', round(0.452200 * 1000, 3)));
based on rndcv
Output for 4.3.0 - 7.2.6
string(7) "452.200"