generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: what does math.pow() do?

Previous Thread :: Next Thread 
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
08 Oct 2017 04:52 AM
???

I really wanna learn math functions


Hi i am LeafDoode my life is pretty sad i laugh alone
Report Abuse
GNUnotUNIX is not online. GNUnotUNIX
Joined: 05 Feb 2012
Total Posts: 15171
08 Oct 2017 04:59 AM
math.pow(a, b) == a^b
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
08 Oct 2017 05:02 AM
Ik the args but what does it do?

like math.random() generates a random number

but what does math.pow() do?


Hi i am LeafDoode my life is pretty sad i laugh alone
Report Abuse
GNUnotUNIX is not online. GNUnotUNIX
Joined: 05 Feb 2012
Total Posts: 15171
08 Oct 2017 05:02 AM
math.pow = power to
Report Abuse
GNUnotUNIX is not online. GNUnotUNIX
Joined: 05 Feb 2012
Total Posts: 15171
08 Oct 2017 05:03 AM
math.pow(5, 3) == 5^3 == 5*5*5 == 125
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
08 Oct 2017 05:09 AM
OHHH Thanks, Man! I got this when I was in 6th grade but since I don't study it in English I didn't know it but thanks again!


Hi i am LeafDoode my life is pretty sad i laugh alone
Report Abuse
LifeInDevelopment is not online. LifeInDevelopment
Joined: 10 Nov 2015
Total Posts: 670
08 Oct 2017 06:38 AM
you dont need to use math.pow, you can just do number1 ^ number2
Report Abuse
JoshRBX is not online. JoshRBX
Joined: 19 May 2012
Total Posts: 8778
08 Oct 2017 07:35 AM
fyi x^y is faster than math.pow(x, y)


Report Abuse
GNUnotUNIX is not online. GNUnotUNIX
Joined: 05 Feb 2012
Total Posts: 15171
08 Oct 2017 08:14 AM
@josh
that sounds pretty absurd
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image