sqr

Calculates the square root of a number.

sqr(number) → returns numeric

Argument Reference

number numeric
Required

A positive integer or a variable that contains one.
Number whose square root to get.

Examples
Sample code invoking the sqr function

sqr(144)

Expected Result: 12

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub