element1 Posted April 17, 2006 Share Posted April 17, 2006 I'm trying to add numbers in an accounting script that I wrote. I'm taking stored values from the mysql db and trying to add them up, however, when I add them up, they're dropping zeros from the number. For instance, 195,000.00 Turns to 195.00The number being stored in mysql are in correct, but the sum that is returned is not. Any ideas why? Quote Link to comment Share on other sites More sharing options...
ypirc Posted April 17, 2006 Share Posted April 17, 2006 Can you please ellaborate? Show us the data you are trying to add, show us how you are trying to add it, etc... We need a better explanation than the above to even begin trying to help you solve your problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.