sqrt

Table of Contents

Function

sqrt — square root of a number

Synopsis

sqrt(val: number) -> float64

Description

The sqrt function returns the square root of its argument val, which must be numeric. The return value is a float64. Negative values result in NaN.

Examples

The logarithm of a various numbers:

yield sqrt(this)
4
2.
1e10
-1
Loading...
Next: strftime

SuperDB