Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random to abs

var myNumber = 33.55;
var output = Math.random(myNumber) * 10;
var num2 = Math.abs(output)
console.log(num2)
 
PREVIOUS NEXT
Tagged: #javascript #random #abs
ADD COMMENT
Topic
Name
7+2 =