Solution: round it off with sprintf.
Hope this helps,
Jeroen
"We are not alone"(FZ)
Update: davorg is right. Stick with integers,
or put the sprintf in the for:
$i = sprintf('%.1f', $i - 0.1);
In reply to Re: Reduce from 2 to 0.1.
by jeroenes
in thread Reduce from 2 to 0.1.
by goichi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |