Calculate the negated value
Source position: fpexprpars.pp line 466
public procedure TFPNegateOperation.GetNodeValue( |
var Result: TFPExpressionResult |
); override; |
Result |
|
Returns the negated result |
The GetNodeValue method performs the numeric negation by evaluating the operand and changing its sign. It multiplies the operand's value by -1, effectively converting positive values to negative and negative values to positive.