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

TIntToCurrencyNode.GetNodeValue

Convert integer value to currency

Declaration

Source position: fpexprpars.pp line 412

public procedure TIntToCurrencyNode.GetNodeValue(

  var Result: TFPExpressionResult

); override;

Arguments

Result

  

Returns the converted currency value

Description

The GetNodeValue method performs the actual conversion of an integer value to a currency value. It retrieves the integer value from the source node and converts it to the equivalent currency representation.

The conversion maintains the numeric value while applying currency-specific precision and formatting rules. The integer is treated as a whole currency unit (e.g., dollars, euros) with appropriate decimal handling.

The result is returned in a TFPExpressionResult structure with the result type set to rtCurrency and the converted value stored in the currency field.


Documentation generated on: Dec 15 2025