PackageTop Level
Classpublic final class Number
InheritanceNumber Inheritance Object



Public Methods
 MethodDefined By
  
Number(value:* = 0)
Number
 Inherited
_init():*
[static]
_init
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
  
[static]
Number
  
max(x:Number = NaN, y:Number = NaN, ... rest):Number
[static]
Number
  
min(x:Number = NaN, y:Number = NaN, ... rest):Number
[static]
Number
  
[static]
Number
 Inherited
AS3
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
[static]
Number
  
Number
  
toFixed(p:* = 0):String
Number
  
Number
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
  E : Number = 2.718281828459045
[static]
Number
 Inheritedlength : int = 1
[static]
length
  LN10 : Number = 2.302585092994046
[static]
Number
  LN2 : Number = 0.6931471805599453
[static]
Number
  LOG10E : Number = 0.4342944819032518
[static]
Number
  LOG2E : Number = 1.442695040888963387
[static]
Number
  MAX_VALUE : Number = 1.7976931348623158e+308
[static]
Number
  MIN_VALUE : Number = NaN
[static]
Number
  NaN : Number = NaN
[static]
Number
  NEGATIVE_INFINITY : Number = -Infinity
[static]
Number
  PI : Number = 3.141592653589793
[static]
Number
  POSITIVE_INFINITY : Number = Infinity
[static]
Number
  SQRT1_2 : Number = 0.7071067811865476
[static]
Number
  SQRT2 : Number = 1.4142135623730951
[static]
Number
Constructor Detail
Number()Constructor
public function Number(value:* = 0)



Parameters
value:* (default = 0)
Method Detail
abs()method
public static function abs(x:Number):Number

Parameters

x:Number

Returns
Number
acos()method 
public static function acos(x:Number):Number

Parameters

x:Number

Returns
Number
asin()method 
public static function asin(x:Number):Number

Parameters

x:Number

Returns
Number
atan()method 
public static function atan(x:Number):Number

Parameters

x:Number

Returns
Number
atan2()method 
public static function atan2(y:Number, x:Number):Number

Parameters

y:Number
 
x:Number

Returns
Number
ceil()method 
public static function ceil(x:Number):Number

Parameters

x:Number

Returns
Number
cos()method 
public static function cos(x:Number):Number

Parameters

x:Number

Returns
Number
exp()method 
public static function exp(x:Number):Number

Parameters

x:Number

Returns
Number
floor()method 
public static function floor(x:Number):Number

Parameters

x:Number

Returns
Number
log()method 
public static function log(x:Number):Number

Parameters

x:Number

Returns
Number
max()method 
public static function max(x:Number = NaN, y:Number = NaN, ... rest):Number

Parameters

x:Number (default = NaN)
 
y:Number (default = NaN)
 
... rest

Returns
Number
min()method 
public static function min(x:Number = NaN, y:Number = NaN, ... rest):Number

Parameters

x:Number (default = NaN)
 
y:Number (default = NaN)
 
... rest

Returns
Number
pow()method 
public static function pow(x:Number, y:Number):Number

Parameters

x:Number
 
y:Number

Returns
Number
random()method 
public static function random():Number

Returns
Number
round()method 
public static function round(x:Number):Number

Parameters

x:Number

Returns
Number
sin()method 
public static function sin(x:Number):Number

Parameters

x:Number

Returns
Number
sqrt()method 
public static function sqrt(x:Number):Number

Parameters

x:Number

Returns
Number
tan()method 
public static function tan(x:Number):Number

Parameters

x:Number

Returns
Number
toExponential()method 
AS3 function toExponential(p:* = 0):String

Parameters

p:* (default = 0)

Returns
String
toFixed()method 
AS3 function toFixed(p:* = 0):String

Parameters

p:* (default = 0)

Returns
String
toPrecision()method 
AS3 function toPrecision(p:* = 0):String

Parameters

p:* (default = 0)

Returns
String
Constant Detail
EConstant
public static const E:Number = 2.718281828459045

LN10Constant 
public static const LN10:Number = 2.302585092994046

LN2Constant 
public static const LN2:Number = 0.6931471805599453

LOG10EConstant 
public static const LOG10E:Number = 0.4342944819032518

LOG2EConstant 
public static const LOG2E:Number = 1.442695040888963387

MAX_VALUEConstant 
public static const MAX_VALUE:Number = 1.7976931348623158e+308

MIN_VALUEConstant 
public static const MIN_VALUE:Number = NaN

NaNConstant 
public static const NaN:Number = NaN

NEGATIVE_INFINITYConstant 
public static const NEGATIVE_INFINITY:Number = -Infinity

PIConstant 
public static const PI:Number = 3.141592653589793

POSITIVE_INFINITYConstant 
public static const POSITIVE_INFINITY:Number = Infinity

SQRT1_2Constant 
public static const SQRT1_2:Number = 0.7071067811865476

SQRT2Constant 
public static const SQRT2:Number = 1.4142135623730951