Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  

MapView.FormatDistance

Formats a distance.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MapView 9.2 Yes No Yes, macOS only No Yes
MBS( "MapView.FormatDistance"; distance )   More

Parameters

Parameter Description Example value
distance The distance in meters to format. 123

Result

Returns text or error.

Description

Formats a distance.
Uses current locale for formatting, so it uses km in Europe and miles in USA.

Examples

Format a distance:

MBS( "MapView.FormatDistance"; 9555 )

Example result: "9,6 km"

See also

Created 17th March 2019, last changed 17th March 2019


MapView.CreateWithSize   -   MapView.GetAutoResizingMask

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins