Sqr Function

рдиреНрдпреВрдореЗрд░рд┐рдХ рдПрдХреНрд╕рдкреНрд░реЗрд╢рди рдХреЗ рд╡рд░реНрдЧрдореВрд▓ рдХреА рдЧрдгрдирд╛ рдХрд░рддрд╛ рд╣реИ.

Syntax:


Sin (Number)

рд╡рд╛рдкрд╕реА рдореВрд▓реНрдп:

Double

рдкреИрд░рд╛рдореАрдЯрд░

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

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

Error codes:

5 Invalid procedure call

рдЙрджрд╛рд╣рд░рдг:


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