Java Utililty Methods Meter to Kilometer

List of utility methods to do Meter to Kilometer

Description

The list of methods to do Meter to Kilometer are organized into topic(s).

Method

StringmeterToKilometer(long number)
meter To Kilometer
BigDecimal newNumber = new BigDecimal(number);
BigDecimal result = newNumber.divide(new BigDecimal(1000));
DecimalFormat df = new DecimalFormat("#.0");
return df.format(result);