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

TIntToCurrencyNode.NodeType

Get the result type for integer to currency conversion

Declaration

Source position: fpexprpars.pp line 411

public function TIntToCurrencyNode.NodeType: TResultType; override;

Function result

Returns currency as the result type

Description

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

The method enables the expression parser to properly identify currency operations and apply appropriate formatting, precision, and arithmetic rules for currency calculations.

This type information is crucial for maintaining proper currency handling throughout complex expressions involving mixed numeric types.


Documentation generated on: Dec 15 2025