4 ms·
I'm assuming that storing $129.99 as 12999 and dividing by 100 when necessary would be preferable?
by whichdan 14y ago
I'm assuming that storing $129.99 as 12999 and dividing by 100 when necessary would be preferable?
- jacques_chester 14y agoThe problem is that every javascript number is floating point. Even if you think you have integers ... sometimes you don't.