const logBase = (n: number, base: number) => Math.log(n) / Math.log(base);
      
      Typescript language logo

      Calculate logarithm

      Codiga's TypeScript Recipes

      Calculates the logarithm of the given number in the given base.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.