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.
Gets the java.math.RoundingMode
used in this NumberFormat. -or- Sets the java.math.RoundingMode
used in this NumberFormat.
public virtual Java.Math.RoundingMode RoundingMode { [Android.Runtime.Register("getRoundingMode", "()Ljava/math/RoundingMode;", "GetGetRoundingModeHandler")] get; [Android.Runtime.Register("setRoundingMode", "(Ljava/math/RoundingMode;)V", "GetSetRoundingMode_Ljava_math_RoundingMode_Handler")] set; }
[<get: Android.Runtime.Register("getRoundingMode", "()Ljava/math/RoundingMode;", "GetGetRoundingModeHandler")>]
[<set: Android.Runtime.Register("setRoundingMode", "(Ljava/math/RoundingMode;)V", "GetSetRoundingMode_Ljava_math_RoundingMode_Handler")>]
member this.RoundingMode : Java.Math.RoundingMode with get, set
Property Value
The RoundingMode
used for this NumberFormat.
- Attributes
Remarks
Property getter documentation:
Gets the java.math.RoundingMode
used in this NumberFormat. The default implementation of this method in NumberFormat always throws java.lang.UnsupportedOperationException
. Subclasses which handle different rounding modes should override this method.
Added in 1.6.
Java documentation for java.text.NumberFormat.getRoundingMode()
.
Property setter documentation:
Sets the java.math.RoundingMode
used in this NumberFormat. The default implementation of this method in NumberFormat always throws java.lang.UnsupportedOperationException
. Subclasses which handle different rounding modes should override this method.
Added in 1.6.
Java documentation for java.text.NumberFormat.setRoundingMode(java.math.RoundingMode)
.
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.