Computer Science, asked by rahulrj723, 1 year ago

How can I specify the base for Math.log() in JavaScript?

Answers

Answered by ams68
0

since math.log(x) in javascript return the natural logarithm of x (same as in (x)), for base 10 you can divide by math.log 10 (same as in (x) )...

Similar questions