Return to Snippet

Revision: 69920
at October 9, 2015 20:19 by Waltem


Initial Code
function randomIntBetween(min, max) {
  return Math.round(Math.random() * (max - min) + min);
}

// randomIntBetween(1,100);

Initial URL

                                

Initial Description
random integer between two numbers

Initial Title
random int between two numbers

Initial Tags

                                

Initial Language
JavaScript