random_number
The random_number function returns a random number at the specified length. If no length is specified then the number will be 8 characters long.
{{ random_number(3) }}
{# Returns a number that is 3 characters long #}
Arguments
The random_number function has the following signature.
random_number(length)
Argument | Description |
---|---|
length | The number of characters that the returned value should be. If it is not set then the returned value will be 8 characters long. |