Share via


BigDecimal.StripTrailingZeros Method

Definition

Returns a BigDecimal which is numerically equal to this one but with any trailing zeros removed from the representation.

[Android.Runtime.Register("stripTrailingZeros", "()Ljava/math/BigDecimal;", "GetStripTrailingZerosHandler")]
public virtual Java.Math.BigDecimal? StripTrailingZeros ();
[<Android.Runtime.Register("stripTrailingZeros", "()Ljava/math/BigDecimal;", "GetStripTrailingZerosHandler")>]
abstract member StripTrailingZeros : unit -> Java.Math.BigDecimal
override this.StripTrailingZeros : unit -> Java.Math.BigDecimal

Returns

a numerically equal BigDecimal with any trailing zeros removed.

Attributes

Remarks

Java documentation for java.math.BigDecimal.stripTrailingZeros().

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