News for hackers. Stuff that matters.
Re:A little thing to love about Perl 6 and COBOL by inglor on Thursday February 05, 2015 @05:03AM (#9002469)
Yes, but the way we write decimals doesn't represent numbers very easily, for example 10/3 can't be represented accurately with finite length decimals (but can with rationals)
Re:A little thing to love about Perl 6 and COBOL by ricardobeat on Thursday February 05, 2015 @06:50AM (#9002751)
Thus you'll never see anything being sold for "a third of a dollar". Accounting and finance have specific rules for rounding these, which can then be replicated with precision.