Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js make value positive

Math.abs(-4)//returns 4
Math.abs(4)//returns 4
 
PREVIOUS NEXT
Tagged: #js #positive
ADD COMMENT
Topic
Name
7+9 =