Convert meters To Miles - Android java.lang

Android examples for java.lang:Math Convert

Description

Convert meters To Miles

Demo Code


//package com.java2s;

public class Main {
    private static final double CONVERSION_UNIT = 0.00062137119;

    public static double metersToMiles(int meters) {
        return meters * CONVERSION_UNIT;
    }//w w  w  . ja  v a 2s. co m
}

Related Tutorials