diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 22:37:48 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-03 22:37:48 -0500 |
| commit | fc9a6f1416be514e9d26b301d05e7e347560560b (patch) | |
| tree | 7d61cc3657c36dde05135f17dbf5923cff177abf /docs/integers.md | |
| parent | 52e3d3fe6f2c3e5051affe155fed364d1a5d623c (diff) | |
Add RNGs to the language
Diffstat (limited to 'docs/integers.md')
| -rw-r--r-- | docs/integers.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/docs/integers.md b/docs/integers.md index 1c30aee0..5b29d5a8 100644 --- a/docs/integers.md +++ b/docs/integers.md @@ -112,32 +112,6 @@ The octal string representation of the integer. --- -## `random` - -**Description:** -Generates a random integer between the specified minimum and maximum values. - -**Signature:** -```tomo -func random(min: Int, max: Int -> Int) -``` - -**Parameters:** - -- `min`: The minimum value of the range. -- `max`: The maximum value of the range. - -**Returns:** -A random integer between `min` and `max` (inclusive). - -**Example:** -```tomo ->> Int.random(1, 100) -= 47 -``` - ---- - ## `from_text` **Description:** |
