Page 303 of 346 Start Back Next End ZBasic System Library 291 ZBasic Microcontrollers 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