RAD Studio VCL Reference
Variants.VarIsNumeric Function

Indicates whether the specified variant represents a numeric value.

function VarIsNumeric(const V: Variant): Boolean;
Boolean VarIsNumeric(const Variant V);

VarIsNumeric returns true if the given variant's type code indicates a numeric value of some sort. This can be either a floating-point value or an ordinal value. 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!