Here you can find the source of fromMeterToKM(double m)
public static double fromMeterToKM(double m)
//package com.java2s; public class Main { public static double fromMeterToKM(double m) { return m / 1000.0; }/*from ww w .j a v a 2 s . c o m*/ }