mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 21:47:46 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
38
docs/commands/random_decimal.md
Normal file
38
docs/commands/random_decimal.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: random decimal
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
Generate a random decimal within a range [min..max]
|
||||
|
||||
## Signature
|
||||
|
||||
```> random decimal (range)```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `range`: Range of values
|
||||
|
||||
## Examples
|
||||
|
||||
Generate a default decimal value between 0 and 1
|
||||
```shell
|
||||
> random decimal
|
||||
```
|
||||
|
||||
Generate a random decimal less than or equal to 500
|
||||
```shell
|
||||
> random decimal ..500
|
||||
```
|
||||
|
||||
Generate a random decimal greater than or equal to 100000
|
||||
```shell
|
||||
> random decimal 100000..
|
||||
```
|
||||
|
||||
Generate a random decimal between 1.0 and 1.1
|
||||
```shell
|
||||
> random decimal 1.0..1.1
|
||||
```
|
||||
|
Reference in New Issue
Block a user