3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 16.99 * 100; var_dump($x); var_dump((int) $x); $y = 1699.0; var_dump($y); var_dump((int) $y);
based on Fgl9r
Output for 4.3.0 - 7.2.0
float(1699) int(1698) float(1699) int(1699)