background
|
|
Linux
Linux Support
A small area on the internet for Linux Support.
More icon

Computer
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
Reference   JavaScript Code Library

This random number function is fast, takes up little space, and best of all, uses any two numbers as inputs regardless of their order. It even takes negative values!

Usage: MD_random(number1, number2) returns a random integer between the values specified.

Cut, paste, and enjoy!