Java.Math.BigDecimal.DivideAndRemainder Method
Returns a BigDecimal array which contains the integral part of this / divisor at index 0 and the remainder this % divisor at index 1.

Syntax

[Android.Runtime.Register("divideAndRemainder", "(Ljava/math/BigDecimal;)[Ljava/math/BigDecimal;", "GetDivideAndRemainder_Ljava_math_BigDecimal_Handler")]
public virtual BigDecimal[] DivideAndRemainder (BigDecimal divisor)

See Also

BigDecimal.DivideToIntegralValue(BigDecimal)
BigDecimal.Remainder(BigDecimal)

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 BigDecimal array which contains the integral part of this / divisor at index 0 and the remainder this % divisor at index 1. The quotient is rounded down towards zero to the next integer.

[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