DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+3 =
Submit