Explanation
SQR Function
Returns the square root of a numeric expression.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
SQR(numeric-expression) |
numeric-expression | A value greater than or equal to zero. |
PRINT SQR(25), SQR(2) 'Output is: 5 1.414214