Navigation bar
  Start Previous page
 244 of 286 
Next page End  

230
Sqr
Type
Function returning Single
Invocation
Sqr(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The value of which the square root will be computed.
Discussion
The return value will be the square root of the supplied value.  Note that the Sqr() function will return
NaN if the argument is negative.
Example
Dim val as Single
val = Sqr(2.0)
' result is approximately 1.414
Previous page Top Next page