Parse the numbers from the string base-16 (hexadecimal) : ParseInt : Data Type Flash / Flex / ActionScript examples


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

 

Parse the numbers from the string base-16 (hexadecimal)


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        trace(parseInt("19"16));     // Displays: 25
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Data Type
» ParseInt