Android Mile to Meter Convert milesToMeters(float miles)

Here you can find the source of milesToMeters(float miles)

Description

miles To Meters

License

Open Source License

Declaration

public static float milesToMeters(float miles) 

Method Source Code

//package com.java2s;

public class Main {
    private static final float METERS_PER_MILE = 1609.344f;

    public static float milesToMeters(float miles) {
        return miles * METERS_PER_MILE;
    }/*from ww w. ja v  a  2  s .c  o  m*/
}