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 |
|
|
| |
|
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 |
|
|
| |
|
|
| 08 Oct 2017 05:03 AM |
| math.pow(5, 3) == 5^3 == 5*5*5 == 125 |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 08 Oct 2017 06:38 AM |
| you dont need to use math.pow, you can just do number1 ^ number2 |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 08 Oct 2017 08:14 AM |
@josh that sounds pretty absurd |
|
|
| Report Abuse |
|
|