Precision.MaxSignificantDigits(Int32) Method
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.
Show numbers rounded if necessary to a certain number of significant digits/figures.
[Android.Runtime.Register("maxSignificantDigits", "(I)Landroid/icu/number/Precision;", "", ApiSince=30)]
public static Android.Icu.Number.Precision? MaxSignificantDigits (int maxSignificantDigits);
[<Android.Runtime.Register("maxSignificantDigits", "(I)Landroid/icu/number/Precision;", "", ApiSince=30)>]
static member MaxSignificantDigits : int -> Android.Icu.Number.Precision
Parameters
- maxSignificantDigits
- Int32
The maximum number of significant digits to display (rounding if too long).
Returns
A Precision for chaining or passing to the NumberFormatter precision() setter.
- Attributes
Remarks
Show numbers rounded if necessary to a certain number of significant digits/figures.
Java documentation for android.icu.number.Precision.maxSignificantDigits(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.