# inputRandomNumber

Enters a random number. Defaults to an 8-digit integer (e.g. `87637218`).

## Examples

```yaml
- inputRandomNumber
```

You can optionally add the `length` command to customise the number of digits.&#x20;

This example will produce a 2-digit number:

```yaml
- inputRandomNumber
    length: 2
```

## Related Commands

[inputtext](https://docs.moropo.com/creating-tests/commands/inputtext "mention")

[inputrandompersonname](https://docs.moropo.com/creating-tests/commands/inputrandompersonname "mention")

[inputrandomemail](https://docs.moropo.com/creating-tests/commands/inputrandomemail "mention")

[inputrandomtext](https://docs.moropo.com/creating-tests/commands/inputrandomtext "mention")<br>

<br>
