GenerateRandomSearch

Random Decimal Range Generator

Generates a random decimal number (to two decimal places) from a minimum and maximum you set.

What this generator does

Produces a decimal inside a range you set, with control over how many decimal places. Useful for sampling measurements and for filling numeric fields with realistic precision.

How to use this tool

  1. Set your minimum and maximum.
  2. Press generate for a random decimal.

Worked examples

Format
23.418 within a range you choose

Common use cases

  • Placeholder decimal data
  • Maths practice with a specific range
  • Quick random measurements

How this generator works

A decimal is drawn between your two bounds at the number of places you choose. The draw is done in whole units of the smallest place and then divided, rather than drawing a fraction and rounding it: rounding a uniform fraction makes the two end values half as likely as the ones in between, which is a small bias that shows up quickly in a histogram.

Limitations and good to know

  • Both bounds are included, and every representable value between them is equally likely — that is the property the whole-units approach exists to preserve.
  • Values are rounded to the requested number of places for display, so binary floating point cannot always represent them exactly. For money, work in whole pennies.
  • The lower bound must be below the upper one; an inverted range is refused rather than quietly swapped.