System.Bindings.Outputs.TConverterUtils.FloatToInteger
Delphi
class procedure FloatToInteger(const I: TValue; ATo: PTypeInfo; var O: TValue); static;
C++
static void __fastcall FloatToInteger(const System::Rtti::TValue &I, System::Typinfo::PTypeInfo ATo, System::Rtti::TValue &O);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | System.Bindings.Outputs.pas System.Bindings.Outputs.hpp |
System.Bindings.Outputs | TConverterUtils |
Description
Convertit un TValue Float
en un type de TValue Integer
.
FloatToInteger construit un nouvel enregistrement TValue à partir de la valeur Integer
convertie préalablement.
I
: TValueFloat
.O
: TValueInteger
. Le TValue après la conversion.ATo
: Le PTypeInfo contenant des informations sur l'entier dans lequel convertir. La conversion dépend du type, du type de données et du type ordinal.
Les valeurs entières possibles sont :