BigDecimal.ToBigDecimal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts this BigDecimal
to a java.math.BigDecimal
.
[Android.Runtime.Register("toBigDecimal", "()Ljava/math/BigDecimal;", "GetToBigDecimalHandler", ApiSince=24)]
public virtual Java.Math.BigDecimal? ToBigDecimal ();
[<Android.Runtime.Register("toBigDecimal", "()Ljava/math/BigDecimal;", "GetToBigDecimalHandler", ApiSince=24)>]
abstract member ToBigDecimal : unit -> Java.Math.BigDecimal
override this.ToBigDecimal : unit -> Java.Math.BigDecimal
Returns
The java.math.BigDecimal
equal in value to this BigDecimal
.
- Attributes
Remarks
Converts this BigDecimal
to a java.math.BigDecimal
.
This is an exact conversion; the result is the same as if the BigDecimal
were formatted as a plain number without any rounding or exponent and then the java.math.BigDecimal(java.lang.String)
constructor were used to construct the result.
(Note: this method is provided only in the android.icu.math
version of the BigDecimal class. It would not be present in a java.math
version.)
Java documentation for android.icu.math.BigDecimal.toBigDecimal()
.
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.