kaven-basic - v6.0.0
    Preparing search index...

    Function GetBaseLog

    • Calculates the logarithm of a given number with respect to a specified base.

      Parameters

      • num: number

        The number for which to calculate the logarithm.

      • baseNumber: number

        The base of the logarithm.

      Returns number

      The logarithm of num to the base baseNumber.

      const result = GetBaseLog(8, 2); // result is 3
      

      4.0.0

      2021-12-14