<?php $x = 0.0;for ($i = 0; $i < 1000; $i++) { $x += 0.1;}echo $x;
Standard input is empty
99.999999999999
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!