Number.valueof() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Number.valueOf()

Availability
Flash Player 5.
Usage
myNumber.valueOf() : Number
Parameters
None.
Returns
Number.
Description
Method; returns the primitive value type of the specified Number object.
Example
The following example results in the primative value of the
var numSocks = new Number(2);
trace(numSocks.valueOf()); // output: 2
658
Chapter 2: ActionScript Language Reference
object.
numSocks

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents