Check out the docs for sprintf (or perldoc -f sprintf), as a quick example it could be done like: @nums = qw(3447.097333 0.5); print sprintf("%e", $_), "\n" for @nums
In reply to Re: Converting Float to SN notation
by kutsu
in thread Converting Float to SN notation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |