@Override
    public Money subtract(MonetaryAmount subtrahend) {
        MoneyUtils.checkAmountParameter(subtrahend, this.currency);
        if (subtrahend.isZero()) {
            return this;
        }
        return new Money(this.number.subtract(subtrahend.getNumber().numberValue(BigDecimal.class)), getCurrency());
    }
@ Override public Money subtract ( MonetaryAmount subtrahend ) { MoneyUtils . checkAmountParameter ( subtrahend , this . currency ) ; if ( subtrahend . isZero ( ) ) { return this ; } return new Money ( this . number . subtract ( subtrahend . getNumber ( ) . numberValue ( BigDecimal . class ) ) , getCurrency ( ) ) ; }
/*
(non-Javadoc)

@see javax.money.MonetaryAmount#subtract(javax.money.MonetaryAmount)