matician - v2.0.0
    Preparing search index...

    Function sqrt

    • Returns the square root of a non-negative number.

      Parameters

      • value: number

        The number to find the square root of.

      Returns number

      The square root of the given number.

      Will throw an error if the input is negative.

      sqrt(9);     // returns 3
      sqrt(0); // returns 0