ta4j/src/main/java/eu/verdelhan/ta4j/Decimal.java
public Decimal remainder(Decimal divisor) {
        if ((this == NaN) || (divisor == NaN) || divisor.isZero()) {
            return NaN;
        }
        return new Decimal(delegate.remainder(divisor.delegate, MATH_CONTEXT));
    }
public Decimal remainder(Decimal divisor) {
        if ((this == NaN) || (divisor == NaN) || divisor.isZero()) {
            return NaN;
        }
        return new Decimal(delegate.remainder(divisor.delegate, MATH_CONTEXT));
    }
public Decimal remainder ( Decimal divisor ) { if ( ( this == NaN ) || ( divisor == NaN ) || divisor . isZero ( ) ) { return NaN ; } return new Decimal ( delegate . remainder ( divisor . delegate , MATH_CONTEXT ) ) ; }
Returns a {@code Decimal} whose value is {@code (this % divisor)},
with rounding according to the context settings.
@param divisor value by which this {@code Decimal} is to be divided.
@return {@code this % divisor}, rounded as necessary.
@see BigDecimal#remainder(java.math.BigDecimal, java.math.MathContext)
Returns a {