sqr
Description
Calculates the square root of a number.
Categories
Related
Syntax
Sqr(number)
Attributes
| Attribute | Description | Required | Default |
|---|---|---|---|
| number | A positive integer or a variable that contains one. Number whose square root to get. |
Returns
Number;
square root of number.
Usage
The value in number must be greater than or equal to 0.
Example
<h3>Sqr Example</h3> Returns the square root of a positive number. Sqr(2): <cfoutput>#Sqr(2)#</cfoutput> Sqr(Abs(-144)): <cfoutput>#Sqr(Abs(-144))#</cfoutput> Sqr(25^2): <cfoutput>#Sqr(25^2)#</cfoutput>