Android Altitude to Meter Convert altitudeToMeter(double meter)

Here you can find the source of altitudeToMeter(double meter)

Description

altitude To Meter

Declaration

public static String altitudeToMeter(double meter) 

Method Source Code

//package com.java2s;

public class Main {
    public static String altitudeToMeter(double meter) {
        return round(meter) + " m";
    }//from   ww  w  .  j  a  v  a2  s . co  m

    public static double round(double value) {
        return ((int) (value * 10) / 10.0);
    }
}