News for hackers. Stuff that matters.
Re:Your balance is $0.30000000004 by tunesmith on Tuesday February 18, 2020 @12:37PM (#22357998)
Really the only foolproof method is to use rationals - numerators and denominators.
Re:Your balance is $0.30000000004 by iod on Tuesday February 18, 2020 @01:14PM (#22358502)
Was going to say this too, specifically rationals with arbitrary precision should cover all general currency related issues assuming irrational values are forbidden.