code: private String roundToClosestIncrement(double distance) {
      int roundedNumber = ((int) Math.round(distance)) / roundingIncrement * roundingIncrement;
  
      return String.valueOf(roundedNumber < roundingIncrement ? roundingIncrement : roundedNumber);
    }
docs: Returns number rounded to closest specified rounding increment, unless the number is less than
  the rounding increment, then the rounding increment is returned
  
  @param distance to round to closest specified rounding increment
  @return number rounded to closest rounding increment, or rounding increment if distance is less