matician - v2.0.0
    Preparing search index...

    Function log10

    • Returns the base-10 logarithm of a number.

      Parameters

      • value: number

        The number to compute the base-10 logarithm of.

      Returns number

      The base-10 logarithm of the given number.

      Will throw an error if the input is not positive.

      log10(10);    // returns 1
      log10(100); // returns 2