Sign in Join
FPDoc Onlineexperiment

TIntToCurrencyNode class

In unit fpExprPars

Internally used class for converting integer to currency

Declaration

pascal
TIntToCurrencyNode = class(TIntConvertNode)

Inheritance

  1. TIntToCurrencyNode
  2. TIntConvertNode
  3. TFPConvertNode
  4. TFPUnaryOperator
  5. TFPExprNode
  6. 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

Methods

NodeTypepublicGet the result type for integer to currency conversion
GetNodeValuepublicConvert integer value to currency

Inherited

From TIntConvertNode (1)

Check

From TFPUnaryOperator (6)

Create Destroy HasAggregate InitAggregate Operand UpdateAggregate

From TFPExprNode (4)

AsString CheckNodeType IsAggregate NodeValue

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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