$array[$i][1] = $array[$i-1][1] + 0.2;
to something like:
$array[$i][1] = sprintf '%.2f', $array[$i-1][1] + 0.2;
In reply to Re: precision problem ?
by toolic
in thread precision problem ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |