how to convert a positive number to a negative number in javascript code example Example: how to turn a number negative in javascript -Math.abs(num); // "-" before Math.abs()