how to change negative to positive and positive to negative

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By potatobanana

how to change negative to positive and positive to negative?
there any method that can change it?

:bust_in_silhouette: Reply From: jgodfrey

Multiply your value (either positive or negative) by -1. For example:

3 * -1 = -3
-3 * -1 = 3

Or, alternatively, subtract your value from 0. For example:

0 - -3 = 3
0 - 3 = -3

jgodfrey | 2023-06-30 21:55