SQR¶
The SQR function returns the square of a supplied number. The result is cast into a floating point type in the operation.
Usage¶
SQR(number) : float
Example¶
The example query adds a calculated column with the square root of 4.
gorrow chr1,1,1 | CALC test sqr(4)
chrom bpStart bpStop test
chr1 1 1 16.0