Trev13@programming.dev to Programming@programming.dev · 1 month agoBig Decimals: Stop Using Floats or Cents for Moneymedium.comexternal-linkmessage-square53linkfedilinkarrow-up195arrow-down13
arrow-up192arrow-down1external-linkBig Decimals: Stop Using Floats or Cents for Moneymedium.comTrev13@programming.dev to Programming@programming.dev · 1 month agomessage-square53linkfedilink
minus-squareWolfLink@sh.itjust.workslinkfedilinkarrow-up4·1 month agoThis 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.