qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SQR Function
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Returns the square root of a numeric expression.
 
SQR(numeric-expression)
 
    ■ numeric-expression    A value greater than or equal to zero.
 
Example:
    PRINT SQR(25), SQR(2)    'Output is:  5  1.414214