But native decimal libraries are almost always floating point.
Do people not know what a floating point number is?
That’s alright, the important part here is that they’re decimal, not binary. You don’t want 0.1 + 0.2 to equal 0.300…004.
Aren't decimal types BCD coded?
That’s alright, the important part here is that they’re decimal, not binary. You don’t want 0.1 + 0.2 to equal 0.300…004.