Working with Number Instances : Number : Data Type Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Data Type » Number »

 

Working with Number Instances


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var nInstance:Number = new Number(11);
        var nVal:Number = new Number(123);
        trace(nVal.toString(16));  // Displays: 7b
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Data Type
» Number