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

TCurrencyToFloatNode

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

Internally used class for converting currency to float

Declaration

Source position: fpexprpars.pp line 452

type TCurrencyToFloatNode = class(TFPConvertNode)

public

  procedure Check; override;

  

Validate the currency to float conversion

  function NodeType; override;

  

Get the result type for currency to float conversion

  procedure GetNodeValue(); override;

  

Convert currency value to float

end;

Inheritance

TCurrencyToFloatNode

  

Internally used class for converting currency to float

|

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

The TCurrencyToFloatNod conversion node class handles the conversion of currency values to floating-point values in expressions. It preserves the numeric value while changing the data type to enable mathematical operations that require floating-point operands.

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.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025