Precision.Unlimited 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 all available digits to full precision.
[Android.Runtime.Register("unlimited", "()Landroid/icu/number/Precision;", "", ApiSince=30)]
public static Android.Icu.Number.Precision? Unlimited ();
[<Android.Runtime.Register("unlimited", "()Landroid/icu/number/Precision;", "", ApiSince=30)>]
static member Unlimited : unit -> Android.Icu.Number.Precision
Returns
A Precision for chaining or passing to the NumberFormatter precision() setter.
- Attributes
Remarks
Show all available digits to full precision.
<strong>NOTE:</strong> When formatting a <em>double</em>, this method, along with #minFraction
and #minSignificantDigits
, will trigger complex algorithm similar to <em>Dragon4</em> to determine the low-order digits and the number of digits to display based on the value of the double. If the number of fraction places or significant digits can be bounded, consider using #maxFraction
or #maxSignificantDigits
instead to maximize performance. For more information, read the following blog post.
http://www.serpentine.com/blog/2011/06/29/here-be-dragons-advances-in-problems-you-didnt-even-know-you-had/
Java documentation for android.icu.number.Precision.unlimited()
.
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.