3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $float = 2.1; echo floor(($float * 100)) / 100; ?>
based on 4RXf2
Output for 4.3.0 - 7.1.0
2.1