RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarIsFloat Function

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

Pascal
function VarIsFloat(const V: Variant): Boolean;
C++
Boolean VarIsFloat(const Variant V);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!