Hacker News new | ask | show | jobs
by eru 4783 days ago
> 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?

3 comments

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.
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.

I can see them being used by the quants for fast pricing. But really, for accounting? Where do the missing cents go?
I certainly hope not.