jKhMn‖

3vK8N‖Sqr Function

92Pyd‖Calculates the square root of a numeric expression.

UjAFg‖Syntax:


u6hMY‖Sqr (Number)

GxUbC‖Return value:

Double

RB3SF‖Parameters:

Mp8NS‖ Number: Any numeric expression that you want to calculate the square root for.

NNhxY‖A square root is the number that you multiply by itself to produce another number, for example, the square root of 36 is 6.

SEjHR‖Error codes:

5 Invalid procedure call

VXXxC‖Example:


Sub ExampleSqr
Dim iVar As Single
    iVar = 36
    MsgBox Sqr(iVar)
End Sub