code: @Override
      public MonetaryAmountFactory<T> setNumber(double number) {
          this.number = new BigDecimal(String.valueOf(number));
          return this;
      }
docs: Creates a new instance of {@link Monetary}, using the default {@link MonetaryContext}.
  
  @param number numeric value.
  @return a {@code Money} combining the numeric value and currency unit.
  @throws ArithmeticException      If the number exceeds the capabilities of the default {@link MonetaryContext}
  used.
  @throws UnknownCurrencyException if the currency code can not be resolved to {@link CurrencyUnit}.