I’ve come across a few instances where I’ve seen people try to convert integers into a negative value.
The most popular one i see is simply to multiply your positive value with a -1.
I would just like to point out that there is a much more robust solution using the native Maths method.
-Math.abs( num ) //will ALWAYS return a negative integer
Math.abs( num ) //will ALWAYS return a positive number