Q(uick)BASIC Keyword: CURRENCY
Quick View
CURRENCY
Specifies the type for a variable in a declarative statement or parameter list
Worth knowing
Useful and cross-version information about the programming environments of QBasic and QuickBasic.
Description/Parameter(s)
INTEGER | A 16-bit signed integer variable. |
LONG | A 32-bit signed integer variable. |
SINGLE | A single-precision floating-point variable. |
DOUBLE | A double-precision floating-point variable. |
STRING | A string variable in a COMMON, DIM, REDIM, SHARED or STATIC statement. If STRING is followed by n, the string has a fixed length of n bytes. If STRING is not followed by n, the string is variable-length. |
CURRENCY | An 8-byte signed integer variable with up to four digits to the right of the decimal point; 15 digits to the left of the decimal point. |