Perl Monk, Perl Meditation | |
PerlMonks |
Re: convert output from exponentional notation to normalby hdb (Monsignor) |
on Mar 19, 2013 at 14:51 UTC ( [id://1024316]=note: print w/replies, xml ) | Need Help?? |
If you want to be more flexible, there is the sprintf function which does the same thing as printf but returns a string. Also, you can put the format into a variable for consistency and flexibility across your program.
For every complex problem there is an answer that is clear, simple, and wrong. H. L. Mencken
In Section
Seekers of Perl Wisdom
|
|