Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
whichdan
on Nov 22, 2012
|
parent
|
context
|
favorite
| on:
What Every Computer Scientist Should Know About Fl...
I'm assuming that storing $129.99 as 12999 and dividing by 100 when necessary would be preferable?
jacques_chester
on Nov 22, 2012
[–]
The problem is that every javascript number is floating point.
Even if you think you have integers ... sometimes you don't.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: