Skip to content

VarIsFloat

Check if the variant is a floating-point value.

Declaration

Source position: variants.pp line 88

function VarIsFloat(const V: Variant) : Boolean;

Arguments

Name Description
V Variant to check.

Function result

True if the value is of the type FloatVarTypes.

Description

VarIsCustom returns True if the variant V is of one of the ordinal types: FloatVarTypes (varSingle,varDouble,varCurrency).

See also

Name Description
VarIsEmpty Check if the variant is empty.
VarIsNull Check if a variant is null.
VarIsCustom Check if the variant is a custom value.
VarIsOrdinal Check if the variant is an ordinal value.
VarIsNumeric Check if the variant is a numerical value.
VarIsStr Check if the variant is a string.