BigDecimal.Sqrt(MathContext) Method

Definition

Returns an approximation to the square root of this with rounding according to the context settings.

[Android.Runtime.Register("sqrt", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;", "GetSqrt_Ljava_math_MathContext_Handler", ApiSince=33)]
public virtual Java.Math.BigDecimal? Sqrt (Java.Math.MathContext? mc);
[<Android.Runtime.Register("sqrt", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;", "GetSqrt_Ljava_math_MathContext_Handler", ApiSince=33)>]
abstract member Sqrt : Java.Math.MathContext -> Java.Math.BigDecimal
override this.Sqrt : Java.Math.MathContext -> Java.Math.BigDecimal

Parameters

mc
MathContext

the context to use.

Returns

the square root of this.

Attributes

Remarks

Java documentation for java.math.BigDecimal.sqrt(java.math.MathContext).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to