Here you can find the source of metersToFeet(float gainMeters)
public static float metersToFeet(float gainMeters)
//package com.java2s; public class Main { private static final float FEET_PER_METER = 3.281f; public static float metersToFeet(float gainMeters) { return gainMeters * FEET_PER_METER; }// w w w .j a v a2s. c om }