Android Distance Calculate KmToMiles(int distance)

Here you can find the source of KmToMiles(int distance)

Description

Km To Miles

Declaration

public static int KmToMiles(int distance) 

Method Source Code

//package com.java2s;

public class Main {
    public static int KmToMiles(int distance) {

        double dist = distance * 0.621;
        return (int) dist;
    }//from  w w  w .  jav  a 2 s  . c  o  m
}

Related

  1. dist(PointF p1, PointF p2)
  2. distance(int q1, int r1, int q2, int r2)
  3. distanceBetweenTwoLatLongs(Location oldLocation, Location newLocation)
  4. distanceInMeters(float distance)
  5. distanceBetweenTwoPoints(double lat1, double lng1, double lat2, double lng2)
  6. getTempsTrajetBus(int distance)
  7. getTempsTrajetPied(int distance)
  8. hammingDistance(String sourceHashCode, String hashCode)
  9. getMessageForDistance(long distance)