Kembali ke pusat
Random Number Generator
MatematikaResults—
Random Number Generator
Need a fair pick between bounds? This Random Number Generator draws integers or decimals in a range you define — useful for raffles, classroom examples, and quick simulations in the browser.
Cara menggunakan
- Set minimum and maximum values.
- Choose integer or decimal mode.
- Click generate (optionally multiple draws).
- Copy results as needed.
Matematika / Logika di baliknya
Integers use uniform sampling over inclusive bounds. Decimals use Math.random() scaled into [min, max).
Contoh nyata
- Dice feel: min 1 max 6 integer.
- Sampling: 10 draws between 0 and 1.
- Lottery-style picks within a ticket range.
FAQ
Is this cryptographically secure?
Tidak — it uses standard JS Math.random for convenience, not security-sensitive keys or lotteries needing CSPRNG.
Are duplicates possible?
Ya in independent draws unless you implement sampling without replacement.
Inclusive bounds?
Integer mode includes both min and max.
