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

TIntToCurrencyNode

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

Internally used class for converting integer to currency

Declaration

Source position: fpexprpars.pp line 409

type TIntToCurrencyNode = class(TIntConvertNode)

public

  function NodeType; override;

  

Get the result type for integer to currency conversion

  procedure GetNodeValue(); override;

  

Convert integer value to currency

end;

Inheritance

TIntToCurrencyNode

  

Internally used class for converting integer to currency

|

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

This conversion node class handles the automatic conversion of integer values to currency values in expressions. It extends the base conversion functionality to provide integer-to-currency specific conversion logic.

The class is used internally by the expression parser when type coercion is needed to make integer values compatible with currency operations. The conversion treats the integer as a currency amount with appropriate decimal precision.

This conversion is useful in financial calculations where integer values need to be combined with currency values while maintaining proper decimal precision and formatting.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025