☰
GLBasic User Manual
×
GLBasic
News
About
Features
Download
Shop
Press
Support
Forum
Online Manual
Chat
Contact
Links
Showroom
All entries
Submit a new program
Control Panel
iPhone Games
Main sections
1 Tutorials
2 GLBasic intern
3 Command Reference A-Z
4 Commands by Category
5 Optional Subroutines
SQR()
n# = SQR(number#)
Calculates the square root of a number.
Sample:
// SQR
PRINT SQR(9), 0, 100 // = 3
SHOWSCREEN
MOUSEWAIT
Output:
3
See also...