meters To Miles - Java java.lang

Java examples for java.lang:Math Convert

Description

meters To Miles

Demo Code


//package com.java2s;

public class Main {
    public static Double metersToMiles(Double meters) {
        try {//from   w  ww.  j  a va2  s  .c om
            return meters / 1609.344;
        } catch (Exception e) {
            return null;
        }
    }
}

Related Tutorials