| SQR | |
| Description
Calculates the square root of a number. |
|
| Returns
Number; square root of number. |
|
| Category
Mathematical functions |
|
Function syntaxSqr(number) |
|
| See also
Abs |
|
| Parameters
|
|
| Usage
The value in number must be greater than or equal to 0. |
|
Example<h3>Sqr Example</h3> <p>Returns the square root of a positive number. <p>Sqr(2): <cfoutput>#Sqr(2)#</cfoutput> <p>Sqr(Abs(-144)): <cfoutput>#Sqr(Abs(-144))#</cfoutput> <p>Sqr(25^2): <cfoutput>#Sqr(25^2)#</cfoutput> |
|
| NUMBER | |