code: public static double roundWithPlace(double doubleNumber, int place) {
  
          double pow = pow(10, place);
          return Math.round(doubleNumber / pow) * pow;
      }
docs: Round with place double.
  
  @param doubleNumber the double number
  @param place        the place
  @return the double