News for hackers. Stuff that matters.
Re:0.30000000000000004 by roblabla on Friday November 13, 2015 @08:00AM (#10559559)
I figured they used Binary Coded Decimal [0] when they need to support decimals.

[0] : https://en.wikipedia.org/wiki/Binary-coded_decimal

Re:0.30000000000000004 by lsaferite on Friday November 13, 2015 @09:29AM (#10559983)
Well, I know from doing payment gateway integration that many of them use integers for currency amounts. They are the smallest currency unit and for display you then convert based on the currency specific precision value.