ACC: Currency Is Significant to Four DigitsID: Q92680
|
Novice: Requires knowledge of the user interface on single-user computers.
When using the Currency data type within Visual Basic for Applications (or
Access Basic in versions 1.x and 2.0), be aware that numbers are
significant to four digits to the right of the decimal point.
The reason for this is that most financial information, such as mortgage
rates and stocks, require four digit precision.
Currency variables are stored as 64-bit numbers (8 bytes) in a two's
complement integer format and scaled by 10,000 to give a fixed-point
number with 15 digits to the left of the decimal point and 4 digits to the
right. This representation provides a range of -922,337,203,685,477.5808
to 922,337,203,685,477.5807. The Currency data type is extremely useful
for calculations involving money and for fixed-point calculations in which
accuracy is particularly important.
For more information about the Currency data type, search for "data types," and then "currency" using the Microsoft Access for Windows 95 Help Index.
Keywords : kbusage GnlOthr
Version : 1.0 1.1 2.0 7.0
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: March 12, 1999