Returns the distance between the two locations (in meters) specified by the start and end coordinates. The distance is calculated by tracing a line between the two locations that follows the curvature of the Earth, and measuring the length of the resulting arc.
a!distanceBetween( startLatitude, startLongitude, endLatitude, endLongitude )
startLatitude (Number (Decimal)): Latitude of the start location in degrees.
startLongitude (Number (Decimal)): Longitude of the start location in degrees.
endLatitude (Number (Decimal)): Latitude of the end location in degrees.
endLongitude (Number (Decimal)): Longitude of the end location in degrees.
Number (Decimal)
a!distanceBetween(startLatitude: 38.932290, startLongitude: -77.218490, endLatitude: 38.917370, endLongitude: -77.220760)
returns 1670.609