Use String() to convert integer to string : Convert to String : Data Type Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Data Type » Convert to String »

 

Use String() to convert integer to string


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
       var first:int 24;
       var second:int 42;
       
       var result:String = Stringfirst + second;
       trace(result);

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Data Type
» Convert to String