in reply to Scientific notation problem
#!/usr/bin/perl my @nums = (2.3e+4, 4e9, 7e-9, 4e-3, 4e-14, 4.4e-14, 4e-13); foreach (sort {$a <=> $b} @nums) { print "$_\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Scientific notation problem
by dorp (Novice) on Aug 13, 2001 at 20:53 UTC | |
by tadman (Prior) on Aug 13, 2001 at 21:06 UTC |