- or download this
> 3e-1 - Num(.3)
5.55111512312578e-17
- or download this
> printf "%.100f\n", .3
0.30000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000
...
0.30000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000
> printf "%.100f\n", Num(.3)
0.30000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000
- or download this
use Inline::Perl5;
my $p5 = Inline::Perl5.new;
...
0.29999999999999998889776975374843459576368331909179687500000000000000
+00000000000000000000000000000000
0.29999999999999998889776975374843459576368331909179687500000000000000
+00000000000000000000000000000000
0.30000000000000004440892098500626161694526672363281250000000000000000
+00000000000000000000000000000000