HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Return one random number between 1 and 10, and another random number between 100 and 499
The Rnd function returns a random number.
To return a random integer less than 1, but greater than or equal to zero:
Rnd
To return a random integer in a given range, use this formula:
Int((upperbound - lowerbound + 1) * Rnd + lowerbound)
Parameter | Description |
---|---|
upperbound | Required. The highest allowed value for the random number |
lowerbound | Required. The lowest allowed value for the random number |
Works in: | From Access 2000 |
---|