Trường · Longitude

Trường · Longitude · location.longitude. Phương thức tạo · Ví dụ

location.longitude

Cài đặt trình tạo

Tạo dữ liệu để xem kết quả ở đây.

Tham số & Ví dụ

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.

Ví dụ

60.4891

Dùng dữ liệu tổng hợp trong môi trường kiểm thử.

Trình tạo liên quan

Khám phá kịch bản