Skip to content

TFPNegateOperation.NodeType

Get the result type for negation operations

Declaration

Source position: fpexprpars.pp line 496

public 
function TFPNegateOperation.NodeType : TResultType;  override;

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.