Flash CS3 Documentation |
|||
| Flash Lite 2.x ActionScript Language Reference > ActionScript classes > Number > valueOf (Number.valueOf method) | |||
public valueOf() : Number
Returns the primitive value type of the specified Number object.
Number - A string.
The following example results in the primative value of the numSocks object.
var numSocks = new Number(2); trace(numSocks.valueOf()); // output: 2
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00005384.html