Longitude generator
Generates a random longitude.
location.longitude
Generator settings
Generate data to see results here.
Parameters & Example
Generates a random longitude.
location.longitude(options?: { max?, min?, precision? })- options
- An options object.
- options.max
- The upper bound for the longitude to generate. Defaults to 180.
- options.min
- The lower bound for the longitude to generate. Defaults to -180.
- options.precision
- The number of decimal points of precision for the longitude. Defaults to 4.
Example
60.4891Use synthetic data in a test environment.