Java.Math.BigDecimal.Pow Method
Returns a new BigDecimal whose value is thisn.

Syntax

[Android.Runtime.Register("pow", "(I)Ljava/math/BigDecimal;", "GetPow_IHandler")]
public virtual BigDecimal Pow (int n)

Parameters

n
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ArithmeticExceptionif n or n > 999999999.

Remarks

Returns a new BigDecimal whose value is thisn. The scale of the result is n * this.scale().

x.pow(0) returns 1, even if x == 0.

Implementation Note: The implementation is based on the ANSI standard X3.274-1996 algorithm.

[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