For reference, Windows (or at least Visual Basic) supplies a
fixed-point type called Currency which has 15 digits to the left of
the decimal point and 4 to the right. This describes one-sixteenth
of a dollar accurately, and can denote about a trillion US dollar's
worth of money in the smallest demoninated non-Euro currency I know
of (South Korean won). The internal representation, based on the
digits, is probably long long (or whatever that is in GatesLand).
You can't use 32 bits, which will only buy you ~$22 million even if
you only count to integer cents, and 96 or 128 bits may be a bit
overkill, so this may be a good place to start.
--
Shimpei Yamashita <http://www2.gol.com/users/shimpei/>
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]