RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarDataIsNumeric Method

Indicates whether a TVarData record represents a numeric value.

Pascal
function VarDataIsNumeric(const V: TVarData): Boolean;
C++
__fastcall Boolean VarDataIsNumeric(const TVarData V);

VarDataIsNumeric returns true if the given TVarData record represents a numeric value of some sort. This can be either a floating-point value or an ordinal value. VarDataIsNumeric does not return true for data from Custom Variant types. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!