← Blog security

Two random number generators. One won't give you a decimal. The other won't say how random it is.

Scan to open this page

Two random number generators. One won't give you a decimal. The other won't say how random it is.

Before building Random Number Generator, we checked two popular random number generators directly (commentpicker.com, calculatorsoup.com).

Decimal random number generator: missing from both

Both tools handle integer ranges well, including negative numbers and sorting. Neither one, as far as their own documentation shows, supports a non-integer result — no decimal-place option anywhere. If you need a random float like 3.47 for a design mockup or a simulation, you're stuck rounding an integer range yourself.

Crypto random number generator, named explicitly

calculatorsoup.com's page describes its method only as "a pseudorandom number generator (PRNG)," without saying whether that's Math.random() or something stronger. This tool uses the Web Crypto API's crypto.getRandomValues as its randomness source — and says so directly on the page, instead of leaving it as a vague label.

Random number no duplicates, with decimals handled sensibly

Check "No duplicates" for a guaranteed-unique set of whole numbers within your range. Since a decimal result is already effectively unique by nature, setting decimal places above 0 automatically unchecks that option rather than leaving a confusing, meaningless combination selected.

Random number generator custom range, negative numbers included

Set any min and max — including negative ranges — and the tool validates that min never exceeds max before generating, so you get a clear message instead of a broken result.

Try Random Number Generator →

#RandomNumberGenerator#RandomNumberNoDuplicates#DecimalRandomNumberGenerator#CryptoRandomNumberGenerator#RandomNumberGeneratorCustomRange