dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [AS2] Exponents

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    17

    [AS2] Exponents

    Hi foreros
    How do you write "10 raised to the power of -8", for example, in AS so as to operate with that figure?
    Thanks.
    Last edited by sonic88; 12-19-2007 at 01:39 PM.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    have you checked the Math Class?

    follow the breadcrumbs to see other methods
    gparis

  3. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    17
    Thank you.
    It was the first time I had to work with powers and I just didn't know how to do it or where to find about it.

  4. #4
    Banned deepakflash's Avatar
    Join Date
    Aug 2007
    Location
    [Object not found]
    Posts
    1,160
    How do you write "10 raised to the power of -8", for example, in AS so as to operate with that figure?
    Math.pow(10,-8)
    Last edited by deepakflash; 12-20-2007 at 03:18 PM.

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