Description
Computes the distance (in miles) between two latitude-longitude pairs using the Haversine formula, base on Apache DataFu.
Syntax
DistInMilesHaversine(lat1, long1, lat2, long2)
Examples
DistInMilesHaversine(48.8567,-2.3508,51.5072,0.1275)
returns 213.41919465445437
Return value datatype
Double
Impact of null value
If any input parameter is null, returns null.