MCPcopy Create free account
hub / github.com/comaps/comaps / MiphToKmph

Function MiphToKmph

libs/platform/measurement_utils.hpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 return mi * 5280.0;
35}
36inline double MiphToKmph(double miph)
37{
38 return MilesToMeters(miph) / 1000.0;
39}
40inline double KmphToMiph(double kmph)
41{
42 return MetersToMiles(kmph * 1000.0);

Callers 2

ToSpeedKmPHFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 1

MilesToMetersFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.68