# Numeric (integer)

Below is a list of available numeric (integer) mock data generators.

## Standard mock data generators

| Mocker                | Description                                                   |
| --------------------- | ------------------------------------------------------------- |
| Age                   | A numerical representation of a person's age.                 |
| HTTP status code      | A random HTTP status code from a list of commonly used codes. |
| Port number           | A random network port number used for computer networking.    |
| Random digit          | A randomly generated digit character.                         |
| Random digit not null | A randomly generated non-zero digit character.                |

## Custom integer

Generates integer values with each placeholder in `Custom integer` field.

#### Parameters

* `Custom integer`: Each placeholder is replaced according to the following rules:
  * Number signs (‘#’) are replaced with a random digit (0 to 9).
  * Percent signs (‘%’) are replaced with a random non-zero digit (1 to 9).
  * Dollar signs (‘$’) are replaced with a random digit above two (2 to 9).
* `Consistent mapping`: Custom integer supports [consistent mapping](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/consistent-mapping).

**Note**: Additionally, any digits between 0 and 9 can be used in the pattern, apart from 0 as the first character. For example, '%#$#' will create a 4 digit number following the rules above.

#### Example <a href="#example---shifting-a-set-of-dates" id="example---shifting-a-set-of-dates"></a>

If you configure:

```
Custom integer as: %#$#
```

The results will be:

```
1188,
6894,
3870,
...
```

## Uniform distribution

Generates a random integer between `Minimum` and `Maximum`.

#### Parameters

* `Minimum` : The minimum value of the integer (inclusive).
* `Maximum`: The maximum value of the integer (exclusive).
* `Consistent mapping`: Uniform distribution supports [consistent mapping](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/consistent-mapping).

#### Example <a href="#example---shifting-a-set-of-dates" id="example---shifting-a-set-of-dates"></a>

If you configure:

```
Minimum as: 5
Maximum as: 10
```

The results will be:

```
9,
5,
7,
...
```

## Numeric series

Generates numeric (integer) series starting at `Start` with `Steps`.

#### Parameters

* `Start` (int): The minimum value of the numeric (integer) (inclusive).
* `Step` (int): The step at a size numeric (integer) series will continue.
* `Consistent mapping`: Numeric series supports [consistent mapping](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/consistent-mapping).

#### Example <a href="#example---shifting-a-set-of-dates" id="example---shifting-a-set-of-dates"></a>

If you configure:

```
Start: 3
Step: 5
```

The results will be:

```
2,
7,
12,
...
```
