Format a distance for display in the active units mode. Stored values throughout the app are in miles (the dominant Torque Pro export unit); this is the conversion / unit suffix layer.
Distance in miles.
Active units preference.
Decimals after the point. Defaults to 1.
1
A pre-formatted distance string like "124.6 mi" or "200.5 km".
"124.6 mi"
"200.5 km"
Format a distance for display in the active units mode. Stored values throughout the app are in miles (the dominant Torque Pro export unit); this is the conversion / unit suffix layer.