Skip to content

TFloatToCurrencyNode

Internally used class for converting float to currency

Declaration

Source position: fpexprpars.pp line 434

type

  TFloatToCurrencyNode = class(TFPConvertNode)
  public
    procedure Check;
    function NodeType : TResultType;
    procedure GetNodeValue;
  end;

Description

The TFloatToCurrencyNode conversion node class handles the conversion of floating-point values to currency values in expressions.

This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.

Methods

Member Visibility Description
Check public Validate the float to currency conversion
GetNodeValue public Convert float value to currency
NodeType public Get the result type for float to currency conversion
See all Methods

See also

Name Description
TFPExprNode Class for representing nodes in expression trees