Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: convert output from exponentional notation to normal

by BrowserUk (Pope)
on Mar 19, 2013 at 14:41 UTC ( #1024313=note: print w/ replies, xml ) Need Help??


in reply to convert output from exponentional notation to normal

Look up the docs for printf and play with different values for the 20.18 I've used:

printf "%20.18f\n", 2.19502183680891e-06;; 0.000002195021836809

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: convert output from exponentional notation to normal
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-19 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls