DISTANCEBETWEEN

Returns the decimal distance between two geographic points.

Syntax

 

= DISTANCEBETWEEN (startLocation, endLocation)

Parameters

startLocation

String containing the location in any of 3 formats: an XML location string, a latitude and longitude separated by a semicolon, or a street address.

endLocation

String containing the location in any of 3 formats: an XML location string, a latitude and longitude separated by a semicolon, or a street address.

Return Type

Decimal

Returns the decimal distance value

Examples

Example

Returns

DISTANCEBETWEEN(GetBrowserLocation(), ”2870 Zanker Rd San Jose”)

Returns the decimal distance.