Numeric (decimal)
Below is a list of available numeric (decimal) mockers.
Standard mockers
Coordinate
A random geographical coordinate (latitude and longitude).
Latitude
A randomly generated latitude coordinate in the range of -90.0 to 90.0.
Longitude
A randomly generated longitude coordinate in the range of -180.0 to 180.0.
Unix time
A random Unix timestamp, representing seconds since the Unix epoch.
Salary
A numerical representation of a person's salary.
Uniform distribution
Generates a random numeric (decimal) between Minimum
and Maximum
, with Decimals
places.
Parameters
Minimum
: The minimum value of the decimal (inclusive).Maximum
: The maximum value of the decimal (exclusive).Decimals
: The number of decimal places to include in the numeric (decimal) (default is10
, which generates a numeric (decimal) with up to 10 decimal places).Consistent mapping
: Uniform distribution supports consistent mapping.
Example
If you configure:
Minimum as: 1
Maximum as: 10
Decimal as: 3
The results will be:
9.052,
1.844,
7.416,
...
Last updated
Was this helpful?