Results 1 to 3 of 3
Thread: Help with adding floating points
Jul 13, 2006, 09:20 #1
Help with adding floating points
If you wouldn’t mind, take a look at the code on THIS PAGE for reference.
All of the numbers I am dealing with are integers. There are only two that are floating points, (Small Medium Box and Large Box). It seems that these numbers are being rounded down. How can I get them to ad in to all of the other numbers as a floating point and not an integer?
Jul 13, 2006, 09:43 #2
Well, I figured it out. I found a parseInt and replaced it with parseFloat and that took care of it.
Jul 13, 2006, 09:48 #3
At least, that's how it's supposed to work.
-- edit -- hah, you posted you fixed it while I was typing my response.