Positive to Negative and Vice Versa

PHOTO EMBED

Fri Mar 11 2022 00:45:58 GMT+0000 (Coordinated Universal Time)

Saved by @Trillzilla #javascript

// Given any integer return the absolute value.
Math.abs(num) => Always positive

// Given any number return the inverse of its absolute value.
-Math.abs(num) => Always negative
content_copyCOPY