System.Variants.VarIsFloat
Delphi
function VarIsFloat(const V: Variant): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall VarIsFloat(const System::Variant &V);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
Indique si le variant spécifié représente une valeur à virgule flottante.
La fonction VarIsFloat renvoie true si le variant donné représente une valeur à virgule flottante (Dans Delphi : Single, Double ou Currency ; dans C++ : float, double ou Currency). Si le variant contient n'importe quelle autre donnée, la fonction renvoie false.