Open Rails

FormatStrings.FormatDistance Method

[This is preliminary documentation and subject to change.]

Formatted unlocalized distance string, used in reports and logs.

public static string FormatDistance(
   float distance,
   bool isMetric
);

See Also

FormatStrings Class | ORTS.Common Namespace