Carrot reference
Functions
distance()
returns the distance between built in addresses in charthop in the specified units syntax distance(point1, point2\[, 'unit']) point1 the first location from which to measure distance point2 the destination to which the function measures distance unit (optional) the units of the returned distance accepted values are meters (default), miles , km return type number docid\ uci5tctfvbhonej6zqijg sample usage distance(address, workaddress, 'meters') returns the distance in meters distance(address, workaddress, 'miles') returns the distance in miles supported data types input type return type logic address docid\ cprkzr vnolxixcms6ugz (x2) number docid\ uci5tctfvbhonej6zqijg if two addresses are passed, the distance between the two will be returned in the specified units default units are meters unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null