ISWITHINRADIUS

Returns a boolean based on whether two geographic points are within a given radius.

Syntax

 

= ISWITHINRADIUS (startLocation, endLocation, radius)

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.

radius

Decimal maximum distance

Return Type

Boolean

Returns a Boolean value

Examples

Example

Returns

ISWITHINRADIUS(GetBrowserLocation(), ”2870 Zanker Rd San Jose”, 5)

Returns a Boolean value.