Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript absolute value

Math.abs(-2) // 2 
Math.abs(2) // 2 

 
PREVIOUS NEXT
Tagged: #javascript #absolute
ADD COMMENT
Topic
Name
9+1 =