| 包 | mx.formatters |
| 类 | public final class NumberBaseRoundType |
| 继承 | NumberBaseRoundType Object |
NumberFormatter.rounding 属性。
另请参见
| 常量 | 定义方 | ||
|---|---|---|---|
| DOWN : String = "down" [静态] 将数字向下舍入到最接近且小于或等于输入数字的整数。 | NumberBaseRoundType | ||
| NEAREST : String = "nearest" [静态] 将数字向上或向下舍入到最接近的整数。 | NumberBaseRoundType | ||
| NONE : String = "none" [静态] 不进行舍入。 | NumberBaseRoundType | ||
| UP : String = "up" [静态] 将数字向上舍入到最接近且大于或等于输入数字的整数值。 | NumberBaseRoundType | ||
| DOWN | 常量 |
public static const DOWN:String = "down"将数字向下舍入到最接近且小于或等于输入数字的整数。
| NEAREST | 常量 |
public static const NEAREST:String = "nearest"将数字向上或向下舍入到最接近的整数。
| NONE | 常量 |
public static const NONE:String = "none"不进行舍入。
| UP | 常量 |
public static const UP:String = "up"将数字向上舍入到最接近且大于或等于输入数字的整数值。