codingtips
Avoid binary floating point for exact decimal work
Anonymous
for decimal values that need exact fixed-scale arithmetic, a decimal type or integer units at that scale can avoid binary floating-point representation errors. define scale and rounding at boundaries; converting back and forth between representations can still introduce mistakes.
0