{{tag>Index Function Function_List Miscellaneous}} ====== DISTANCE ====== ===== Description ===== Returns the distance between two addresses or locations in metres ===== Parameters ===== Two addresses or locations as Plain Text and a Google Maps key as PlainText. A location can be specified as two geo coordinates separated by comma ===== Example ===== IF DISTANCE ( ThisClient.Address, ThatClient.Address, SystemSettings.GoogleMapsKey ) > 1000 THEN ...