to the power of??

  • yuriythebest
  • Banned
  • Banned
  • User avatar
  • Posts: 143
  • Loc: Ukraine

Post 3+ Months Ago

what is the sintax tor telling flash to put a variable to the power of something ie 2 square.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

Use the

Code: [ Select ]
Math.pow();


Method ...

I.E.

Code: [ Select ]
Math.pow(5, 2); //returns 25 (5 squared)
Math.pow(5, 3); //returns 125 (5 cubed)
Math.pow(9, 1/2); //returns 3 (square root of 9)
  1. Math.pow(5, 2); //returns 25 (5 squared)
  2. Math.pow(5, 3); //returns 125 (5 cubed)
  3. Math.pow(9, 1/2); //returns 3 (square root of 9)
  • yuriythebest
  • Banned
  • Banned
  • User avatar
  • Posts: 143
  • Loc: Ukraine

Post 3+ Months Ago

thanks!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 14 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.