MACROMEDIA COLDFUSION MX 61-CFML Reference page 687

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Sqr
Description
Calculates the square root of a number.
Returns
Number; square root of number.
Category
Mathematical functions
Function syntax
Sqr(number)
See also
Abs
Parameters
Parameter
number
Usage
The value in
number
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>
Description
A positive integer or a variable that contains one. Number whose square root to get.
must be greater than or equal to 0.
Sqr
687

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents