code: private boolean validateDigits(Object validationObject, Annotation annotate)
      {
          if (checkNullObject(validationObject))
          {
              return true;
          }
  
          if (checkvalidDigitTypes(validationObject.getClass()))
          {
              if (!NumberUtils.isDigits(toString(validationObject)))
              {
  
                  throwValidationException(((Digits) annotate).message());
              }
          }
  
          return true;
      }
docs: Checks whether a given value is is a number or not
  
  @param validationObject
  @param annotate
  @return