By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

Prevent scientific notation

P: 66
Let's say I want to echo ".00002". PHP likes to echo "2.0E-5" instead. How would I have it print .00002 instead?
Dec 18 '07 #1
Share this Question
Share on Google+
1 Reply


P: 48
Look these functions : number_format or sprintf at php.net, for example
Dec 18 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.