$sqrt
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
$sqrt
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Calculates the square root of a number.
Syntax
$sqrt(number)
Parameters
number | a positive number or an expression that evaluates to a positive number |
Return Value
Number, with the same number of decimal places as number.
Example
$sqrt (100)
The above expression means “the square root (in base 10) of 100” and evaluates to 10.
See Also
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5