Trev13@programming.dev to Programming@programming.dev · 21 days agoBig Decimals: Stop Using Floats or Cents for Moneymedium.comexternal-linkmessage-square50linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkBig Decimals: Stop Using Floats or Cents for Moneymedium.comTrev13@programming.dev to Programming@programming.dev · 21 days agomessage-square50linkfedilink
minus-squareWolfLink@sh.itjust.workslinkfedilinkarrow-up0·20 days 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.