background
|
|
Games
Ruffnecks Gaming Gaming for everyone
More

Tombstone
Tombstone Tuning Home of tuning, projects and fast cars and boats.
More

Random
|
|
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!