हब पर वापस जाएँ
Random Number Generator
गणितResults—
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 ब्राउज़र.
कैसे उपयोग करें
- Set minimum and maximum values.
- Choose integer or decimal mode.
- Click generate (optionally multiple draws).
- Copy results as needed.
गणित / इसके पीछे का तर्क
Integers use uniform sampling over inclusive bounds. Decimals use Math.random() scaled into [min, max).
वास्तविक उदाहरण
- Dice feel: min 1 max 6 integer.
- Sampling: 10 draws between 0 and 1.
- Lottery-style picks within a ticket range.
अक्सर पूछे जाने वाले प्रश्न
Is this cryptographically secure?
नहीं — it uses standard JS Math.random for convenience, not security-sensitive keys or lotteries needing CSPRNG.
Are duplicates possible?
हाँ in independent draws unless you implement sampling without replacement.
Inclusive bounds?
Integer mode includes both min and max.
