Java.Math.BigDecimal.Remainder Method
Returns a new BigDecimal whose value is this % divisor.

Syntax

[Android.Runtime.Register("remainder", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;", "GetRemainder_Ljava_math_BigDecimal_Handler")]
public virtual BigDecimal Remainder (BigDecimal divisor)

Parameters

divisor
value by which this is divided.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif divisor == null.
Java.Lang.ArithmeticExceptionif divisor == 0.

Remarks

Returns a new BigDecimal whose value is this % divisor.

The remainder is defined as this - this.divideToIntegralValue(divisor) * divisor.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1