News for hackers. Stuff that matters.
Re:0.30000000000000004 by boomlinde on Tuesday December 03, 2019 @03:47AM (#21690871)
You probably want some smaller unit than a dollar for currency as well, in which case it becomes of a problem with even smaller amounts.

I really see no reason to use any other representation for currency than decimal fixed point. Store the amount as mils or whatever unit suits your use case.

There are no comments on this comment yet.