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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Bindings.Outputs.pas System.Bindings.Outputs.hpp |
System.Bindings.Outputs | TConverterUtils |
Description
Converts a Float
TValue to a type of Integer
TValue.
FloatToInteger builds a new TValue record from the previously converted Integer
value.
I
:Float
TValue.O
:Integer
TValue. The TValue after conversion.ATo
: The PTypeInfo that holds information about the integer to be converted to. The conversion depends on the type kind, the type of data, and the ordinal type.
Possible integer values: