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.
Went to join the gridlock to see it
Held an eclipse party
Watched a live feed
I cn"t see tge kwubosd to amswr thus
I tried to see it, but 8000 miles of rock got in the way
Wanted to see it, but they wouldn't reschedule it
Read the book instead
Results (260 votes). Check out past polls.