Brian Dunning's FileMaker Custom Functions

GetAsKilometerMile ( Distance ; Km_M )

Convert Miles to Kilometer or Kilometer to Miles

  Average rating: 4.2 (33 votes) Log in to vote

Ursus   Ursus
LeoSoft
http://www.don't_have_a_Web_site.com

Share on Facebook Share on Twitter

  Sample input:
GetAsKilometerMile( 1 , "Km" )
  Sample output:
1 Km = 0,62 M

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns miles when you enter the distance and "Km",
Return Kilometer when you enter the distance and "M".
The value returned is as text.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: