Java.Math.BigDecimal.Subtract Method
Returns a new BigDecimal whose value is this - subtrahend.

Syntax

[Android.Runtime.Register("subtract", "(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;", "GetSubtract_Ljava_math_BigDecimal_Ljava_math_MathContext_Handler")]
public virtual BigDecimal Subtract (BigDecimal subtrahend, MathContext mc)

Parameters

subtrahend
value to be subtracted from this.
mc
rounding mode and precision for the result of this operation.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif subtrahend == null or mc == null.

Remarks

Returns a new BigDecimal whose value is this - subtrahend. The result is rounded according to the passed context mc.

[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