Sign in Join
FPDoc Onlineexperiment

TIntToFloatNode.GetNodeValue procedure

Member of TIntToFloatNodepublicIn unit fpExprPars

Internally used convert integer value to float

Declaration

pascal
procedure GetNodeValue(var Result: TFPExpressionResult); override

Arguments

Result

Returns the converted float value

Description

The GetNodeValue method performs the actual conversion of an integer value to a floating-point value. It retrieves the integer value from the source node and converts it to the equivalent floating-point representation.

The conversion maintains the numeric value while changing the internal representation to TExprFloat format. The method ensures that the conversion is performed safely and accurately.

The result is returned in a TFPExpressionResult structure with the result type set to rtFloat and the converted value stored in the appropriate field.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.