System.Variants.VarIsFloat

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal: 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