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.00
The number being stored in mysql are in correct, but the sum that is returned is not. Any ideas why?
Help with number addition
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users