There is a faster way to netage a value
Unless you specifically need to know, there is no reason to actually check the sign (positive/negative) of the variable. Negating a variable can simply be done by making it positive with Abs() and then negating it with Neg() like so:
someVar = Neg( Abs( someVar ) )This works because any value returned by Abs() will always be positive, so negating that will always be a negative number.
This method also executes faster.





