Convert a negative number into positive

How can I convert a negative number into a positive number?

Multiplying by -1 ?

Try google :wink:

Thanks, and sorry

or if you are not sure if the value you are starting with is positive or negative then use ABS()

Dim thisIntegerVal as Integer = Abs(someOtherValue)

i = ( i ^ 2.0 ) ^ 0.5

Or Abs, whatever. :wink:

Kem your nerd-fu is strong :stuck_out_tongue: