Java logarithm by log(num, base)(Closed)

Viewed 2034

I am making a program with android SDK (Java), but I have GUIed my program to which you get a number, then the base. The base can be an any number. Do I have a way other than to switch-case it infinitely? (I have closed this thread. I have found that logb(x)=log10(x)/log10(b))

2 Answers
Related