You mean like this?
#!/usr/bin/perl use warnings; use strict; my $dec = "0.99982928833"; my $sci = sprintf("%.11e", $dec); print $sci;
-stevieb
In reply to Re: Decimal to Scientific notation
by stevieb
in thread Decimal to Scientific notation
by kepler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |