Sqr

Description

Returns a positive square root.

Category

Mathematical functions

Syntax


Sqr(number) 

See also

Abs

Parameters

Parameter
Description
number
Number whose square root to get

Usage

Number must be greater than or equal to 0.

Example

<!--- This example shows Sqr --->

<html>

<head>

<title>

Sqr Example

</title>

</head>



<body>

<H3>Sqr Example</H3>



<P>Returns a positive square root of a 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>



</body>

</html>    



Banner.Novgorod.Ru