NumberFormat.RoundingMode Property
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.
Returns the rounding mode used in this NumberFormat. -or- Set the rounding mode used in this NumberFormat.
public virtual Android.Icu.Math.RoundOptions RoundingMode { [Android.Runtime.Register("getRoundingMode", "()I", "GetGetRoundingModeHandler", ApiSince=24)] get; [Android.Runtime.Register("setRoundingMode", "(I)V", "GetSetRoundingMode_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getRoundingMode", "()I", "GetGetRoundingModeHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setRoundingMode", "(I)V", "GetSetRoundingMode_IHandler", ApiSince=24)>]
member this.RoundingMode : Android.Icu.Math.RoundOptions with get, set
Property Value
A rounding mode, between BigDecimal.ROUND_UP
and BigDecimal.ROUND_UNNECESSARY
.
- Attributes
Remarks
Property getter documentation:
Returns the rounding mode used in this NumberFormat. The default implementation of tis method in NumberFormat always throws UnsupportedOperationException
.
Java documentation for android.icu.text.NumberFormat.getRoundingMode()
.
Property setter documentation:
Set the rounding mode used in this NumberFormat. The default implementation of tis method in NumberFormat always throws UnsupportedOperationException
.
Java documentation for android.icu.text.NumberFormat.setRoundingMode(int)
.
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.