@maniero/

RoundProblem.php

PHP Web Server

No description

fork
loading
Files
  • index.php
index.php
1
2
3
4
5
6
<?php
$x = 0.0;
for ($i = 0; $i < 1000; $i++) $x += 0.1;
echo $x;

//https://pt.stackoverflow.com/q/59010/101