Pakiet | mx.formatters |
Klasa | public final class NumberBaseRoundType |
Dziedziczenie | NumberBaseRoundType Object |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
NumberFormatter.rounding
property using these constants.
Powiązane elementy interfejsu API
Właściwości publiczne
Metody publiczne
Stałe publiczne
Stała | Zdefiniowane przez | ||
---|---|---|---|
DOWN : String = "down" [statyczny]
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" [statyczny]
Rounds a number up or down to the nearest integer. | NumberBaseRoundType | ||
NONE : String = "none" [statyczny]
Perform no rounding. | NumberBaseRoundType | ||
UP : String = "up" [statyczny]
Rounds a number up to an integer value that is both closest to,
and greater than or equal to, the input number. | NumberBaseRoundType |
Szczegół stałej
DOWN | Stała |
public static const DOWN:String = "down"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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 | Stała |
public static const NEAREST:String = "nearest"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Rounds a number up or down to the nearest integer.
NONE | Stała |
public static const NONE:String = "none"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Perform no rounding.
UP | Stała |
public static const UP:String = "up"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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, 12:06 PM Z