Negates a value.
Syntax
Result = SRP_Math("NEGATE", Value, "", DecimalPlaces, ScientificNotation) |
The negation of Value.
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.
// Negate PI Val = "3.1415926535897932384626433832795" Result = SRP_Math("NEGATE", Val) !! Result = -3.1415926535897932384626433832795 !! |
// Negate it again Result = SRP_Math("NEG", Result) !! Result = 3.1415926535897932384626433832795 !! |