Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js absolute value

Math.abs(-4)//returns 4
Math.abs(4)//returns 4
 
PREVIOUS NEXT
Tagged: #js #absolute
ADD COMMENT
Topic
Name
3+1 =