Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to Find the Square Root of a Number?

Asked by 6 years ago

I was wondering how I would find the square root of a number in LUA? Anyone know how?

1 answer

Log in to vote
1
Answered by
GingeyLol 338 Moderation Voter
6 years ago
local number = 100 --number
print(math.sqrt(number))
0
Thanks! Garfanzo 30 — 6y
0
Mark this question as the answer if it works for you. :^) Fifkee 2017 — 6y
0
I tried to do so as soon as I saw it, but I am too new for it to let me. :/ Sorry. Garfanzo 30 — 6y
Ad

Answer this question