CInt96.ToVarmethod
Returns the currency as a VT_CY variant.
Syntax
FUNCTION ToVar () AS VARIANT
Description
Returns the DECIMAL as a VT_DECIMAL variant.
Remarks
Can be used to assign a currency directly to a VT_CY VARIANT
or a DVARIANT
Examples
DIM int96 AS CInt96 = 1234567890 DIM v AS VARIANT = int96.ToVar
DIM int96 AS CInt96 = 1234567890 DIM dv AS DVARIANT = int96.ToVar
Reference
- Defined in AfxNova/CInt96.inc:637
- Documented in Numeric Datatypes/CInt96 Class.md
- Topic: CInt96 Class