System.Variants.VarIsNumeric

From RAD Studio API Documentation
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