http://www.perlmonks.org?node_id=539054


in reply to Converting Float to SN notation

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