Generate random integers or decimals between a minimum and maximum, inclusive. Numbers come from crypto.getRandomValues with rejection sampling, so every integer in the range is equally likely, without the modulo bias of the naive random % n approach.

  • Unique draws without replacement (a partial Fisher–Yates shuffle), which suits raffles, sampling rows or picking test cases. Asking for more unique integers than the range contains is reported as an error.
  • Decimals are rounded to the chosen number of places, and Sort orders the output ascending or descending.
  • The separator controls whether results come one per line, comma-separated or space-separated for pasting into code or a spreadsheet.

Integer ranges can span the full safe-integer range of JavaScript (up to about 9 quadrillion). Up to 100,000 numbers can be generated at once, with count, lowest, highest and mean shown for a quick sanity check.