Here you can find the source of speedToKMH(double kmh)
public static String speedToKMH(double kmh)
//package com.java2s; public class Main { public static String speedToKMH(double kmh) { return round(kmh) + " km/h"; }/* ww w . j a va 2s .c om*/ public static double round(double value) { return ((int) (value * 10) / 10.0); } }