code: public static boolean isNumber(String value) {
          try {
              Double.parseDouble(value);
          } catch (NumberFormatException nfe) {
              return false;
          }
          return true;
      }
docs: determines whether the string is a numeric format
  
  @param value string value
  @return return value is number