273 of 318
ZBasic System Library 263 ZX Microcontroller Family 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