IntegerWidth.ZeroFillTo(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以零开头填充数字,以确保小数分隔符之前有一定数量的数字。
[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
参数
- minInt
- Int32
小数分隔符之前的最小位数。
返回
用于链接或传递给 NumberFormatter integerWidth() setter 的 IntegerWidth。
- 特性
注解
以零开头填充数字,以确保小数分隔符之前有一定数量的数字。
例如,对于 minInt=3,数字 55 将打印为“055”。
Java文档android.icu.number.IntegerWidth.zeroFillTo(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。