orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day agoFloating point arithmeticseviltoast.orgimagemessage-square44linkfedilinkarrow-up1741arrow-down15
arrow-up1736arrow-down1imageFloating point arithmeticseviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day agomessage-square44linkfedilink
minus-squareCevilia (she/they/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4·19 hours agoBanks and big companies have to worry about round-off and fractions of a penny, so Decimal is a better solution for them. But the great unwashed like you and me will never have to worry about that, so either works.
Banks and big companies have to worry about round-off and fractions of a penny, so Decimal is a better solution for them. But the great unwashed like you and me will never have to worry about that, so either works.