Sqr(number) returns The square root of number. If number is negative, VBA gives a runtime error. : Sqr « Math Functions « VBA / Excel / Access / Word






Sqr(number) returns The square root of number. If number is negative, VBA gives a runtime error.

 
Sub mathDemo15()
   Debug.Print Sqr(9)
End Sub

 

Related examples in the same category

1.Sqr() Returns the square root of a number.