3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $int = 1.7; echo sprintf("%02.2f",$int);
based on 77RsR
Output for 5.3.22 - 7.3.0rc4
1.70