Navigation bar
  Start Previous page
 241 of 283 
Next page End 236 237 238 239 240 241 242 243 244 245 246  

232
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