Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to turn a number negative in javascript

-Math.abs(num); // "-" before Math.abs()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #turn #number #negative #javascript
ADD COMMENT
Topic
Name
1+2 =