Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TIntToFloatNode.GetNodeValue

Internally used convert integer value to float

Declaration

Source position: fpexprpars.pp line 404

public procedure TIntToFloatNode.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

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025