Sqr

From NSB App Studio
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This function is for BASIC compatibility. It is not available in pure JavaScript projects.

Sqr(number)

Description

Sqr returns a double-precision value representing the square root of a number. The required parameter, number, is any valid numeric expression greater than or equal to zero.

Example (Basic)

Rem Sqr Example
'Sqr calculates square root of a number
Print "The square root of 69 is " & Sqr(69)

Output

The square root of 69 is 8.30662386291807