math.sqrt
From GMod Wiki
Function | |
Syntax |
math.sqrt( x ) Where is this used? |
Description: | |
Returns the square root of x. | |
Returns: | Number number |
Part of Library: | Math |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Math.sqrt]Math.sqrt [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Finds the square root of 4. |
---|---|
Used on | |
Code | print(math.sqrt(4)) |
Output | 2. |