@Sqrt (Formula Language)

Given a number, returns its positive square root.

Syntax

@Sqrt( number )

Parameters

number

Number or number list. The number whose square root you want to find. The number must be positive, otherwise @Sqrt returns an error.

Return value

Nu number

Number or number list. The square root of the number.

Usage

If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.

Examples

  1. This formula returns 4.
    @Sqrt( 16 )
  2. This formula returns 1, 2, 3, 4, and 5 in a list.
    @Sqrt(1 : 4 : 9 : 16 : 25)