Sqr Function

Returns the square root of a number.

Syntax

Sqr(number)

Remarks

The number argument can be any valid numeric expression greater than 0.

The following example uses the Sqr function to calculate the square root of a number:

Example:

Dim MySqr
MySqr = Sqr(4)   
' Output: 2.
MySqr = Sqr(23)   
' Output: 4.79583152331272.