MathContext.RoundUnnecessary Field
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.
Caution
This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.
Rounding mode to assert that no rounding is necessary.
[Android.Runtime.Register("ROUND_UNNECESSARY", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.", true)]
public const Android.Icu.Math.RoundOptionsUnused RoundUnnecessary = 7;
[<Android.Runtime.Register("ROUND_UNNECESSARY", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.", true)>]
val mutable RoundUnnecessary : Android.Icu.Math.RoundOptionsUnused
Field Value
Value = 7- Attributes
Remarks
Rounding mode to assert that no rounding is necessary. Used as a setting to control the rounding mode used during a BigDecimal
operation.
Rounding (potential loss of information) is not permitted. If any of the discarded digits are non-zero then an ArithmeticException
should be thrown.
Java documentation for android.icu.math.MathContext.ROUND_UNNECESSARY
.
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.