meterToKilometer method

double meterToKilometer(
  1. double meters
)

Implementation

double meterToKilometer(double meters) {
  return meters / 1000;
}