Declaration¶
Source position: fpexprpars.pp line 452
type
TCurrencyToFloatNode = class(TFPConvertNode)
public
procedure Check;
function NodeType : TResultType;
procedure GetNodeValue;
end;
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.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Check | public | Validate the currency to float conversion |
| GetNodeValue | public | Convert currency value to float |
| NodeType | public | Get the result type for currency to float conversion |
See also¶
| Name | Description |
|---|---|
| TFPExprNode | Class for representing nodes in expression trees |