The commercial world, which calls itself the real world, runs on binary coded decimal
S'truth. Today on java.lang.BigDecimal until JSR 354 comes out. (actually you need a BigRational too)
See also: Why not use Double or Float to represent currency?
Not a member of The Register?
Create a new account
Remember me on this computer?
The Register - Independent news and views for the tech community. Part of Situation Publishing
Join our daily or weekly newsletters, subscribe to a specific section or set News alerts
Biting the hand that feeds IT © 1998–2019