Octal generator
Returns an octal number. The bounds are inclusive.
number.octal
Generator settings
Generate data to see results here.
Parameters & Example
Returns an octal number. The bounds are inclusive.
number.octal(options?: number | { min?: number; max?: number; })- options
- Maximum value or options object.
- options.min
- Lower bound for generated number. Defaults to 0.
- options.max
- Upper bound for generated number. Defaults to 7.
Example
"5"Use synthetic data in a test environment.