Android Altitude to Foot Convert altitudeToFeet(double meter)

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

Description

altitude To Feet

Declaration

public static String altitudeToFeet(double meter) 

Method Source Code

//package com.java2s;

public class Main {
    public static String altitudeToFeet(double meter) {
        return round(meter * 3.2808399) + " ft";
    }//from w  w  w  . ja v  a 2 s.  c om

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

Related

  1. altToFeet(double meter)