Format a speed for display in the active units mode. Stored values are in mph; converts to km/h under metric.
Speed in miles per hour.
Active units preference.
Decimals after the point. Defaults to 0.
0
A pre-formatted speed string like "97 mph" or "156 km/h".
"97 mph"
"156 km/h"
Format a speed for display in the active units mode. Stored values are in mph; converts to km/h under metric.