[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Floating Point and Financial Software




I have seen monetary items represented as integers, with the software
assuming that the last two digits are actually the "cents" part of the
float.  There are still round off problems with this scheme, but the
calculations are much faster since they are integers.
---
Joseph L. (Joe) Moll -- Network and Communications Engineering
mailto:[email protected] http://www.acquion.com  phone:864-281-4108
ACQUION, Inc.  Greenville, SC  USA -- Specialists in Electronic Commerce
disclaimer:  This email is not to be considered official correspondence
---