套件 | mx.formatters |
類別 | public final class NumberBaseRoundType |
繼承 | NumberBaseRoundType Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
NumberFormatter.rounding
property using these constants.
相關 API 元素
公用常數
常數 | 定義自 | ||
---|---|---|---|
DOWN : String = "down" [靜態]
Rounds a number down to an integer that is both closest to,
and less than or equal to, the input number. | NumberBaseRoundType | ||
NEAREST : String = "nearest" [靜態]
Rounds a number up or down to the nearest integer. | NumberBaseRoundType | ||
NONE : String = "none" [靜態]
Perform no rounding. | NumberBaseRoundType | ||
UP : String = "up" [靜態]
Rounds a number up to an integer value that is both closest to,
and greater than or equal to, the input number. | NumberBaseRoundType |
常數詳細資訊
DOWN | 常數 |
public static const DOWN:String = "down"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Rounds a number down to an integer that is both closest to, and less than or equal to, the input number.
NEAREST | 常數 |
public static const NEAREST:String = "nearest"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Rounds a number up or down to the nearest integer.
NONE | 常數 |
public static const NONE:String = "none"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Perform no rounding.
UP | 常數 |
public static const UP:String = "up"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Rounds a number up to an integer value that is both closest to, and greater than or equal to, the input number.
Tue Jun 12 2018, 03:47 PM Z