986
ActionScript classes
Properties inherited from class Object
Constructor summary
Method summary
Methods inherited from class Object
MAX_VALUE (Number.MAX_VALUE property)
public static MAX_VALUE : Number
The largest representable number (double-precision IEEE-754). This number is
approximately 1.79e+308.
Availability:
ActionScript 1.0; Flash Player 5
Example
The following ActionScript displays the largest and smallest representable numbers to the
Output panel.
trace("Number.MIN_VALUE = "+Number.MIN_VALUE);
trace("Number.MAX_VALUE = "+Number.MAX_VALUE);
constructor (Object.constructor property)
,
__proto__ (Object.__proto__
property)
,
prototype (Object.prototype property)
,
__resolve
(Object.__resolve property)
Signature
Description
Number
(num:Object)
Creates a new Number object.
Modifiers
Signature
Description
toString
(radix:Numbe
r) : String
Returns the string representation of the specified
Number object (
myNumber
).
valueOf
() : Number
Returns the primitive value type of the specified
Number object.
addProperty (Object.addProperty method)
,
hasOwnProperty
(Object.hasOwnProperty method)
,
isPropertyEnumerable
(Object.isPropertyEnumerable method)
,
isPrototypeOf (Object.isPrototypeOf
method)
,
registerClass (Object.registerClass method)
,
toString
(Object.toString method)
,
unwatch (Object.unwatch method)
,
valueOf
(Object.valueOf method)
,
watch (Object.watch method)
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...