code: @Override
      public MonetaryAmount apply(MonetaryAmount amount) {
          return amount.getFactory().setCurrency(amount.getCurrency()).setNumber(
                  amount.getNumber().numberValue(BigDecimal.class)
                          .setScale(this.context.getInt(SCALE_KEY), this.context.get(RoundingMode.class))).create();
      }
docs: /*
  (non-Javadoc)
  
  @see javax.money.MonetaryFunction#apply(java.lang.Object)