Pacchetto | mx.formatters |
Classe | public final class NumberBaseRoundType |
Ereditarietà | NumberBaseRoundType Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
NumberFormatter.rounding
property using these constants.
Elementi API correlati
Proprietà pubbliche
Metodi pubblici
Costanti pubbliche
Costante | Definito da | ||
---|---|---|---|
DOWN : String = "down" [statico]
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" [statico]
Rounds a number up or down to the nearest integer. | NumberBaseRoundType | ||
NONE : String = "none" [statico]
Perform no rounding. | NumberBaseRoundType | ||
UP : String = "up" [statico]
Rounds a number up to an integer value that is both closest to,
and greater than or equal to, the input number. | NumberBaseRoundType |
Descrizione delle costanti
DOWN | Costante |
public static const DOWN:String = "down"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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 | Costante |
public static const NEAREST:String = "nearest"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Rounds a number up or down to the nearest integer.
NONE | Costante |
public static const NONE:String = "none"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Perform no rounding.
UP | Costante |
public static const UP:String = "up"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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, 02:44 PM Z