Convert meter to Mile - Android android.location

Android examples for android.location:Distance

Description

Convert meter to Mile

Demo Code


public class Main{


    public static final double toMile(double meter) {
        return meter / 1609;
    }/*w w w  .  jav a  2  s .c  o m*/

}

Related Tutorials