Paket | mx.formatters |
Klass | public final class NumberBaseRoundType |
Arv | NumberBaseRoundType Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
NumberFormatter.rounding
property using these constants.
Relaterade API-element
Publika egenskaper
Publika metoder
Publika konstanter
Konstant | Definieras med | ||
---|---|---|---|
DOWN : String = "down" [statisk]
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" [statisk]
Rounds a number up or down to the nearest integer. | NumberBaseRoundType | ||
NONE : String = "none" [statisk]
Perform no rounding. | NumberBaseRoundType | ||
UP : String = "up" [statisk]
Rounds a number up to an integer value that is both closest to,
and greater than or equal to, the input number. | NumberBaseRoundType |
Konstantdetaljer
DOWN | Konstant |
public static const DOWN:String = "down"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const NEAREST:String = "nearest"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Rounds a number up or down to the nearest integer.
NONE | Konstant |
public static const NONE:String = "none"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Perform no rounding.
UP | Konstant |
public static const UP:String = "up"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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, 01:40 PM Z