Android Altitude to Foot Convert altToFeet(double meter)

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

Description

alt To Feet

Declaration

public static double altToFeet(double meter) 

Method Source Code

//package com.java2s;

public class Main {
    public static double altToFeet(double meter) {
        return round(meter * 3.2808399);
    }//  w ww  .  j av a2 s.  c o  m

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

Related

  1. altitudeToFeet(double meter)