Floats vs Decimals — Most languages suck at math
It’s easy to forget things that seem the most obvious. For instance, the default behaviour of most programming languages when used for fractional arithmetics lead to inaccurate results due to floating-point precision.
[Read More]