System.Variants.OleVariantInt64AsDouble

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

OleVariantInt64AsDouble: Boolean = False;

C++

extern DELPHI_PACKAGE bool OleVariantInt64AsDouble;

Properties

Type Visibility Source Unit Parent
variable public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Controls the mode in which Int64 values are stored in a OleVariant.

Use OleVariantInt64AsDouble to set or check whether the Int64 values are stored in a OleVariant as Double values. If the value of OleVariantInt64AsDouble is True, then Int64 values are stored as Double values and the type of the OleVariant is varDouble. Otherwise, the Int64 values are stored directly and the type of the OleVariant is varInt64.

Note: This flag is useful only on Windows 9x/2000 platforms, on which OleVariants cannot store an Int64 value.

See Also