Currency Data Type

Language Items List

Definition:

The Currency data type should be used when performing calculations involving money and when extreme accuracy is necessary in fixed-point calculations.

Currency variables are stored as a type of 64-bit integer, which requires 8 bytes of storage. Currency variables are also scaled to produce a fixed-point number that can contain 15 digits to the left of the decimal point and 4 digits to the right.

Note that math operations performed on the currency variable are more precise and faster than those performed on Single or Double variables.

Type-declaration character:

@ (ANSI character 64)

See Also:

Long Data Type
Data Types