Here you can find the source of speedToMPH(double kmh)
public static String speedToMPH(double kmh)
//package com.java2s; public class Main { public static String speedToMPH(double kmh) { return round(kmh * 0.621) + " mph"; }/*from w ww . ja v a 2s.co m*/ public static double round(double value) { return ((int) (value * 10) / 10.0); } }