cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Creating a Random value in Javascript within limits

No ratings

This Javascript snippet creates a random value between those limits:

 

var dbl_Value = Math.floor(Math.random()*(max-min+1)+min);

Version history
Last update:
‎Apr 13, 2017 04:01 AM
Updated by:
Labels (2)