Table of contents
Collapse the table of content
Expand the table of content

Currency Data Type

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Currency variables are stored as 64-bit (8-byte) numbers in an integer format, 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. Thetype-declaration character for Currency is the at sign ( @ ).

The Currencydata type is useful for calculations involving money and for fixed-point calculations in which accuracy is particularly important.

© 2018 Microsoft