dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: convert to Hexadecimal

  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    44

    convert to Hexadecimal

    hi every body..

    how can I convert from decimal to Hexadecimal???


  2. #2
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    Code:
    var myNumber = 10;
    var myHex = myNumber.toString(16);
    trace(myHex); // Should print "a" in the output panel
    /Mirandir

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    44
    Quote Originally Posted by Mirandir
    Code:
    var myNumber = 10;
    var myHex = myNumber.toString(16);
    trace(myHex); // Should print "a" in the output panel
    /Mirandir
    thanks alot ...you are right

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center