System.Variants.VarIsNumeric

From RAD Studio API Documentation
Revision as of 00:37, 17 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function VarIsNumeric(const V: Variant): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall VarIsNumeric(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 numeric value.

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.

See Also