News for hackers. Stuff that matters.
Re:0.30000000000000004 by monster_group on Monday December 02, 2019 @04:23PM (#21687102)
>>...since for example US currency only ever goes to two decimal places

That is not correct. Stock settlement transactions often list four decimal places.

Re:0.30000000000000004 by maltalex on Monday December 02, 2019 @04:34PM (#21687222)
> Stock settlement transactions often list four decimal places.

That's not a significant difference compared to two decimal places, so brundolf's point still stands. There's no need for arbitrary precision.

Just store all dollars in PIPs so 5$ will be stored as 50000.