Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

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.
Last modified on April 20, 2026