Function: MilestoKilometers

Description

Converts the value of a distance expressed in miles to kilometers.

Syntax

MilestoKilometerstoMiles(distance)

Arguments

distance is any number representing distance in kilometers.

Return value

This function returns a value expressing distance in miles.

Calculated field example

To convert the value 1 mile, use the calculated field:  MilestoKilometers(0.621371).

The function returns: 1 (mile)

 

 

© 2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support