to the power of??

  • yuriythebest
  • Banned
  • Banned
  • User avatar
  • Joined: Feb 24, 2005
  • Posts: 143
  • Loc: Ukraine
  • Status: Offline

Post April 22nd, 2005, 12:23 pm

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

Post April 22nd, 2005, 12:23 pm

  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post April 22nd, 2005, 12:54 pm

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
  • Joined: Feb 24, 2005
  • Posts: 143
  • Loc: Ukraine
  • Status: Offline

Post April 23rd, 2005, 3:43 am

thanks!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 38 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.