in reply to Printing a very small number
For a precise output:
my $num = Math::BigRat->new("9e-10");
print $num->as_float(), "\n";
That works if your small number starts out as a string, but if it comes from a calculation done using normal Perl math, the 'damage' has already been done.
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (543 votes). Check out past polls.