System.Variants.VarIsFloat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarIsFloat(const V: Variant): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall VarIsFloat(const System::Variant &V);

Properties

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

Description

Indicates whether the specified variant represents a floating-point value.

VarIsFloat returns true if the given variant represents a floating-point value (In Delphi: Single, Double, or Currency; In C++: float, double, or Currency). If the variant contains any other type of value, the function result is false.

See Also