Math.sqrt
From Data Realms Wiki
Jump to:
navigation
,
search
Function
Syntax
math.sqrt(
Number
)
Description:
Returns the square root of x. (You can also use the expression x^0.5 to compute this value.)
Returns
Number
Example
Description
Gets the square root of 9.
Code
print
(
math.sqrt
(
9
)
)
Output
Prints 3.
Category
:
Lua
Views
Page
Discussion
View source
History
Personal tools
Log in / create account
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Search
Toolbox
What links here
Related changes
Special pages
Permanent link