Y
Hacker News
new
|
ask
|
show
|
jobs
by
cbcoutinho
2515 days ago
Using floats to store monetary data is considered 'a very bad idea' in the financial world. Mostly due to how floating point numbers are rounded up/down based on the precision.
https://stackoverflow.com/a/3730040/5536001