다음을 통해 공유


DecimalFormat.SetRoundingIncrement Method

Definition

Overloads

SetRoundingIncrement(BigDecimal)

<strong>[icu]</strong> <strong>Rounding and Digit Limits:</strong> Overload of #setRoundingIncrement(java.math.BigDecimal).

SetRoundingIncrement(Double)

<strong>[icu]</strong> <strong>Rounding and Digit Limits:</strong> Overload of #setRoundingIncrement(java.math.BigDecimal).

SetRoundingIncrement(BigDecimal)

<strong>[icu]</strong> <strong>Rounding and Digit Limits:</strong> Overload of #setRoundingIncrement(java.math.BigDecimal).

[Android.Runtime.Register("setRoundingIncrement", "(Landroid/icu/math/BigDecimal;)V", "GetSetRoundingIncrement_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)]
public virtual void SetRoundingIncrement (Android.Icu.Math.BigDecimal? increment);
[<Android.Runtime.Register("setRoundingIncrement", "(Landroid/icu/math/BigDecimal;)V", "GetSetRoundingIncrement_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)>]
abstract member SetRoundingIncrement : Android.Icu.Math.BigDecimal -> unit
override this.SetRoundingIncrement : Android.Icu.Math.BigDecimal -> unit

Parameters

increment
BigDecimal

The increment to which numbers are to be rounded.

Attributes

Remarks

<strong>[icu]</strong> <strong>Rounding and Digit Limits:</strong> Overload of #setRoundingIncrement(java.math.BigDecimal).

Java documentation for android.icu.text.DecimalFormat.setRoundingIncrement(android.icu.math.BigDecimal).

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

SetRoundingIncrement(Double)

<strong>[icu]</strong> <strong>Rounding and Digit Limits:</strong> Overload of #setRoundingIncrement(java.math.BigDecimal).

[Android.Runtime.Register("setRoundingIncrement", "(D)V", "GetSetRoundingIncrement_DHandler", ApiSince=24)]
public virtual void SetRoundingIncrement (double increment);
[<Android.Runtime.Register("setRoundingIncrement", "(D)V", "GetSetRoundingIncrement_DHandler", ApiSince=24)>]
abstract member SetRoundingIncrement : double -> unit
override this.SetRoundingIncrement : double -> unit

Parameters

increment
Double

The increment to which numbers are to be rounded.

Attributes

Remarks

<strong>[icu]</strong> <strong>Rounding and Digit Limits:</strong> Overload of #setRoundingIncrement(java.math.BigDecimal).

Java documentation for android.icu.text.DecimalFormat.setRoundingIncrement(double).

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