sqrt()

Returns the square root of the input.

Syntax

sqrt(number)

Learn more about syntax conventions.

Parameters

Name Type Required Description
number int, long, or real ✔️ The number for which to calculate the square root.

Returns

  • A positive number such that sqrt(x) * sqrt(x) == x
  • null if the argument is negative or can't be converted to a real value.