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

TFPNegateOperation.NodeType

Get the result type for negation operations

Declaration

Source position: fpexprpars.pp line 465

public function TFPNegateOperation.NodeType: TResultType; override;

Function result

Returns the result type of the negation

Description

The NodeType method returns the result type for negation operations, which typically matches the type of the operand. The result preserves the numeric type of the input (integer, float, or currency) to maintain type consistency.


Documentation generated on: Dec 15 2025