PickBASIC / FlashBASIC
sqrt() function
.mdThe sqrt() function calculates the square root of a given numeric expression.
Syntax
sqrt(num.exp)Parameter(s)
| num.exp | Numeric expression from which the square root is calculated. If num.exp is negative, the function returns 0 and prints an error message. |
Description
Precision is kept for up to 9 digits.
Example(s)
print sqrt(25)
Square root
print sqrt(144) ;* 12
See also
Referenced by
3 topics mention sqrt() function in its description.