Re:Building Payments for an Insurance Startup
by cbcoutinho on Wednesday July 31, 2019 @12:31PM
(#20575780)
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