It produces nice output:#!/usr/local/bin/perl5 -w use strict; for (my $i = 20 ; $i >= 1 ; $i -= 1){ printf "%f\n", $i/10; }
But it's a rather horrible solution, really... :-)2.000000 1.900000 1.800000 1.700000 1.600000 1.500000 1.400000 1.300000 1.200000 1.100000 1.000000 0.900000 0.800000 0.700000 0.600000 0.500000 0.400000 0.300000 0.200000 0.100000
In reply to Re: Reduce from 2 to 0.1.
by jink
in thread Reduce from 2 to 0.1.
by goichi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |