docs: public static void validateFractionDigits(int fractionDigits, double value){
          if (value != ((int) value)){
              String doubleValue = String.valueOf(value);
  
              int numberOfFractionDigits = doubleValue.substring(doubleValue.indexOf(',')).length();
  
              if (numberOfFractionDigits > fractionDigits){
                  throw new RestrictionViolationException("Violation of fractionDigits restriction, value should have a maximum of " + fractionDigits + " decimal places.");
              }
          }
      }