Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove negative sign from number javascript

Math.abs('the negative number')
Math.abs(-4)//returns 4
Math.abs(4)//returns 4
Source by newbedev.com #
 
PREVIOUS NEXT
Tagged: #remove #negative #sign #number #javascript
ADD COMMENT
Topic
Name
7+3 =