public static String formatElevation(final float meters) {
        final NumberFormat nf = NumberFormat.getIntegerInstance(Locale.getDefault());
        return Float.isNaN(meters) ? "" : Settings.useImperialUnits() ? nf.format(meters * IConversion.METERS_TO_FEET) + " ft" : nf.format(meters) + " m";
    }
formats given elevation in meters or feet, no fractions, no kilometers/miles
main/src/main/java/cgeo/geocaching/location/Units.java