EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - MAX_VALUE (Number.max_Value Property); MIN_VALUE (Number.min_Value Property)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
546 ActionScript classes
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 Lite 2.0
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);
This code displays the following values:
Number.MIN_VALUE = 4.94065645841247e-324
Number.MAX_VALUE = 1.79769313486232e+308
MIN_VALUE (Number.MIN_VALUE property)
public static MIN_VALUE : Number
The smallest representable number (double-precision IEEE-754). This number is
approximately 5e-324.
Availability: ActionScript 1.0; Flash Lite 2.0
Modifiers Signature Description
toString(radix:Number) : 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)

Table of Contents

Related product manuals