IntegerWidth.ZeroFillTo(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.
Pad numbers at the beginning with zeros to guarantee a certain number of numerals before the decimal separator.
[Android.Runtime.Register("zeroFillTo", "(I)Landroid/icu/number/IntegerWidth;", "", ApiSince=30)]
public static Android.Icu.Number.IntegerWidth? ZeroFillTo (int minInt);
[<Android.Runtime.Register("zeroFillTo", "(I)Landroid/icu/number/IntegerWidth;", "", ApiSince=30)>]
static member ZeroFillTo : int -> Android.Icu.Number.IntegerWidth
Parameters
- minInt
- Int32
The minimum number of places before the decimal separator.
Returns
An IntegerWidth for chaining or passing to the NumberFormatter integerWidth() setter.
- Attributes
Remarks
Pad numbers at the beginning with zeros to guarantee a certain number of numerals before the decimal separator.
For example, with minInt=3, the number 55 will get printed as "055".
Java documentation for android.icu.number.IntegerWidth.zeroFillTo(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.