Pretty basic question I think - I\'m performing this function:
private double convertMetersToFeet(double meters) { //function converts Feet to Meters.
If you need precise calculations, use BigDecimal instead of float. If you just want to truncate on printing, use DecimalFormat.
DecimalFormat df = new DecimalFormat ("0.00"); System.out.println(df.format(convertMetersToFeet(101)));