Everytime I heard this I thought, well duh a float should never be used for pricing, why would anyone think that was a good idea? But I finally found someone lmao
Tbf it's better to store the absolute number and number of significant figures as different integers if the floating point math is going to be a problem.
View all comments
Show parent comment
10
u/RattuSonline Apr 10 '26
Have a read.