Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random number not decimal

a_number = 10
Math.floor(Math.random() * a_number)
 
PREVIOUS NEXT
Tagged: #javascript #random #number #decimal
ADD COMMENT
Topic
Name
9+6 =