News for hackers. Stuff that matters.
Re:Flaky: datatypes for real world quantities by eru on Sunday May 19, 2013 @12:49AM (#5731847)
> Floating point datatype is the de-facto standard for real world quantities. Whether it is a banking account [...]

Is there any bank which uses floating point for accounting?

Re:Flaky: datatypes for real world quantities by rwallace on Sunday May 19, 2013 @05:05AM (#5732320)
I encountered an insurance company that used floating point as their standard data type for monetary values. On the bright side, that was in the late nineties; hopefully they've switched to a proper decimal type since then.
Re:Flaky: datatypes for real world quantities by reeses on Sunday May 19, 2013 @11:05AM (#5733028)
A huge number of ecommerce sites do. (Such as almost every site based on ATG/Oracle Commerce)

Most banking systems predate standardized FP and use fixed decimal representations.

Re:Flaky: datatypes for real world quantities by eru on Sunday May 19, 2013 @11:43AM (#5733160)
I can see them being used by the quants for fast pricing. But really, for accounting? Where do the missing cents go?
Re:Flaky: datatypes for real world quantities by berkut on Sunday May 19, 2013 @02:42AM (#5732074)
I certainly hope not.