Hacker News new | past | comments | ask | show | jobs | submit login

> Nothing makes you more attractive to a woman than the double which represents your bank account balance.

Not really on topic but it is a teachable moment; You should always use fixed point math to deal with currency. Floating point math is not consistently accurate and should never be used.




If banks often don't bother with it I don't see why anyone else should have to :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: