Pakket | mx.formatters |
Klasse | public final class NumberBaseRoundType |
Overerving | NumberBaseRoundType Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
NumberFormatter.rounding
property using these constants.
Verwante API-elementen
Openbare eigenschappen
Openbare methoden
Openbare constanten
Constante | Gedefinieerd door | ||
---|---|---|---|
DOWN : String = "down" [statisch]
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" [statisch]
Rounds a number up or down to the nearest integer. | NumberBaseRoundType | ||
NONE : String = "none" [statisch]
Perform no rounding. | NumberBaseRoundType | ||
UP : String = "up" [statisch]
Rounds a number up to an integer value that is both closest to,
and greater than or equal to, the input number. | NumberBaseRoundType |
Constantedetails
DOWN | Constante |
public static const DOWN:String = "down"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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 | Constante |
public static const NEAREST:String = "nearest"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Rounds a number up or down to the nearest integer.
NONE | Constante |
public static const NONE:String = "none"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Perform no rounding.
UP | Constante |
public static const UP:String = "up"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Wed Jun 13 2018, 11:42 AM Z