Internally used convert integer value to float
Source position: fpexprpars.pp line 404
public procedure TIntToFloatNode.GetNodeValue( |
var Result: TFPExpressionResult |
); override; |
Result |
|
Returns the converted float value |
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.
|
Class for representing nodes in expression trees |