MathContext.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 roundingMode setting.
public Android.Icu.Math.RoundOptions RoundingMode { [Android.Runtime.Register("getRoundingMode", "()I", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getRoundingMode", "()I", "", ApiSince=24)>]
member this.RoundingMode : Android.Icu.Math.RoundOptions
Property Value
an int
which is the value of the roundingMode
setting
- Attributes
Remarks
Returns the roundingMode setting. This will be one of #ROUND_CEILING
, #ROUND_DOWN
, #ROUND_FLOOR
, #ROUND_HALF_DOWN
, #ROUND_HALF_EVEN
, #ROUND_HALF_UP
, #ROUND_UNNECESSARY
, or #ROUND_UP
.
Java documentation for android.icu.math.MathContext.getRoundingMode()
.
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.