3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 4189.94; var_dump($a); $b = (int) ($a * 100); var_dump($b); $c = $b / 100; var_dump($c); var_dump($c === $a);
Output for 4.3.0 - 7.1.0
float(4189.94) int(418993) float(4189.93) bool(false)