cleanup, docs
This commit is contained in:
@@ -14,7 +14,6 @@ Works like `generate_float()`, but uses `context.random_index` for the index val
|
||||
|
||||
After each call, `context.random_index` is increased by one. At the start of every request, `context.random_seed` is automatically populated with a new seed value.
|
||||
|
||||
## Related Concepts
|
||||
|
||||
- PHP: `random_int()`, `mt_rand()`, and custom numeric random helpers
|
||||
- JavaScript / Node.js: `Math.random()` or `crypto.getRandomValues()`-based helpers for numeric ranges
|
||||
:example
|
||||
print(draw_float(1, 0, 1) >= 0 ? "float\n" : "bad\n");
|
||||
|
||||
Reference in New Issue
Block a user