For a precise output:
use Math::BigRat; my $num = Math::BigRat->new("9e-10"); print $num->as_float(), "\n";
Output: 0.0000000009
In reply to Re: Printing a very small number
by betterworld
in thread Printing a very small number
by Dr Manhattan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |