kmToMiles

Converts kilometers to miles.

  • Follow the conversion formula mi = km * 0.621371.
const kmToMiles = km => km * 0.621371;
kmToMiles(8.1) // 5.0331051