SYNOPSIS
use Math::ScientificNotation::Util qw(sci2dec);
say sci2dec("1.2e-6"); # => 0.0000012
DESCRIPTION
FUNCTIONS
None exported by default, but they are exportable.
sci2dec($sci) => $dec
Convert scientific notation number to decimal number.
Note that if you are sure that your number is not too large or small,
you can just let Perl convert it for you:
"1.2e-4"+0 # 0.00012
1*"1.2e8" # 120000000
but:
"1.2e-5"+0 # => 1.2e-5
1*"1.2e20" # 1.2e+20
FAQ
Where is dec2sci?
To convert to scientific notation, you can use sprintf() with the %e,
%E, %g, or %G format, for example:
sprintf("%.2e", 1234) # => 1.23e+03