Sign in Join
FPDoc Onlineexperiment

TIntToFloatNode.NodeType function

Member of TIntToFloatNodepublicIn unit fpExprPars

Get the result type for integer to float conversion

Declaration

pascal
function NodeType: TResultType; override

Function result

Returns float as the result type

Description

The NodeType method returns rtFloat to indicate that this conversion node produces floating-point results. It overrides the base class method to provide type-specific result type information.

The method is used by the expression parser to determine the result type of expressions that include this conversion node, enabling proper type checking and result handling.

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