Trev13@programming.dev to Programming@programming.dev · 10 天前Big Decimals: Stop Using Floats or Cents for Moneymedium.comexternal-linkmessage-square54fedilinkarrow-up1104arrow-down13
arrow-up1101arrow-down1external-linkBig Decimals: Stop Using Floats or Cents for Moneymedium.comTrev13@programming.dev to Programming@programming.dev · 10 天前message-square54fedilink
minus-squareWolfLink@sh.itjust.workslinkfedilinkarrow-up4·9 天前This is a common rounding strategy because it doesn’t consistently overestimate like the grade school rounding strategy of always rounding up does.
This is a common rounding strategy because it doesn’t consistently overestimate like the grade school rounding strategy of always rounding up does.