How to Use the Random Number Generator with a Range
- 1Enter the minimum and maximum values for the draw.
- 2Choose Number Count and turn on Allow Decimals if you need fractional output.
- 3Use Generate to create values with the current options.
- 4Save the result when you need the same inputs for a later comparison.
Input & Output Examples
One possible result shows that either endpoint can appear in integer mode.
Input Sample
Three integers from -2 to 2Expected Output
-2
1
2One possible result. The trailing zero preserves two decimal places.
Input Sample
Two decimal values from 1 to 2Expected Output
1.24
1.90Practical Developer Workflows
- Prepare integer values for a demo chart or a table.
- Create a small fixture that includes values below and above zero.
- Compare number formatting for whole numbers and values shown to two decimal places.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Notice a bug, calculation error, or outdated info?
Let us know directly so our engineering team can fix it.
Frequently Asked Questions
With whole-number bounds and decimals disabled, the lower and upper endpoints can both occur. Setting both bounds to the same whole number returns that value on each line. Use a wider range when you want varied results.