Pakket | com.adobe.fiber.runtime.lib |
Klasse | public class MathFunc |
Overerving | MathFunc Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Methode | Gedefinieerd door | ||
---|---|---|---|
[statisch]
The absolute value of a number. | MathFunc | ||
[statisch]
Determines the closest integer that is greater than or equal to a specified number. | MathFunc | ||
[statisch]
Converts a real number to an integer. | MathFunc | ||
[statisch]
Calculates the closest integer that is less than or equal to a number. | MathFunc | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
[statisch]
Returns the larger of two numbers. | MathFunc | ||
[statisch]
Returns the smaller of two numbers. | MathFunc | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
[statisch]
Rounds a number to the closest integer. | MathFunc | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
[statisch]
Returns the sign of a number
| MathFunc | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
abs | () | methode |
ceiling | () | methode |
public static function ceiling(n:Number):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Determines the closest integer that is greater than or equal to a specified number.
Parameters
n:Number — Number
|
Number — Ceiling of the number.
|
fix | () | methode |
public static function fix(n:Number):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Converts a real number to an integer. If number is greater than or equal to 0, the closest integer less than or equal to number. If number is less than 0, the closest integer greater than or equal to number.
Parameters
n:Number — Number
|
Number — Input converted to an integer
|
floor | () | methode |
public static function floor(n:Number):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Calculates the closest integer that is less than or equal to a number.
Parameters
n:Number — Number
|
Number — Floor of the number
|
max | () | methode |
public static function max(n1:Number, n2:Number):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the larger of two numbers.
Parameters
n1:Number — Number
| |
n2:Number — Number
|
Number — Larger of the two input numbers
|
min | () | methode |
public static function min(n1:Number, n2:Number):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the smaller of two numbers.
Parameters
n1:Number — Number
| |
n2:Number — Number
|
Number — Smaller of the two input numbers
|
round | () | methode |
public static function round(n:Number):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Rounds a number to the closest integer. Rounds numbers that end with .5 up to the nearest integer.
Parameters
n:Number — Number
|
Number — Number rounded
|
sgn | () | methode |
public static function sgn(n:Number):int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the sign of a number
Parameters
n:Number — Number
|
int — -1 if num < 0, 0 if num = 0 and 1 if num > 0
|
Wed Jun 13 2018, 11:42 AM Z