Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All Math & Logic
Commands

MATH_DISTANCE

This function will calculate the distance between two points.

These points can be two points on a flat 2D plane, two points in 3D space, or two latitude/longitude points on a globe (excluding altitude). 
 

Number Name Default Type Description
1 type 2D String Valid values are 2D, 3D or GLOBE
2 point1 0:0 String A colon separated list of two or three values for point 1
3 point2 0:0 String A colon separated list of two or three values for point 2
4 unit M String

The unit of measurement to use for the returned value.

This is only relevant for the GLOBE calculations.

Valid values are: M:Miles, K:Killometres, N:Nautical Miles 

to add a Comment.