Floating point numbers will have roundoff problems. That is just the nature of floating point operations. In this case, I recommend you use an integer number of cents in all of your calculations.
1 Like
Floating point numbers will have roundoff problems. That is just the nature of floating point operations. In this case, I recommend you use an integer number of cents in all of your calculations.