Negates a value.
Syntax
Result = SRP_Math("NEGATE", Value, "", DecimalPlaces, ScientificNotation)
Returns
The negation of Value.
Remarks
The NEGATE operation negates Value and returns the results. If Value was negative, the result is positive and vice versa. You can use NEG for short.
Example
// Negate PI
Val = "3.1415926535897932384626433832795"
Result = SRP_Math("NEGATE", Val)
!! Result = -3.1415926535897932384626433832795 !!
// Negate it again
Result = SRP_Math("NEG", Result)
!! Result = 3.1415926535897932384626433832795 !!