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

TIntToFloatNode

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Internally used class for converting integer to float

Declaration

Source position: fpexprpars.pp line 401

type TIntToFloatNode = class(TIntConvertNode)

public

  function NodeType; override;

  

Get the result type for integer to float conversion

  procedure GetNodeValue(); override;

  

Internally used convert integer value to float

end;

Inheritance

TIntToFloatNode

  

Internally used class for converting integer to float

|

TIntConvertNode

  

Internally used class for integer conversion operations

|

TFPConvertNode

  

Internally used class for type conversion operations

|

TFPUnaryOperator

  

Internally used class for unary operations with single operand

|

TFPExprNode

  

Class for representing nodes in expression trees

|

TObject

Description

The TIntToFloatNode conversion node class handles the automatic conversion of integer values to floating-point values in expressions. It extends the base conversion functionality to provide integer-to-float specific conversion logic.

The class is used internally by the expression parser when type coercion is needed to make integer values compatible with operations that require floating-point operands. The conversion preserves the numeric value while changing the data type representation.

This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025