code: private String roundToDecimalPlace(double distance, int decimalPlace) {
      numberFormat.setMaximumFractionDigits(decimalPlace);
  
      return numberFormat.format(distance);
    }
docs: Rounds given number to the given decimal place
  
  @param distance     to round
  @param decimalPlace number of decimal places to round
  @return distance rounded to given decimal places