How can I specify the base for Math.log() in JavaScript?
Answers
Answered by
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
Psychology,
7 months ago
Social Sciences,
7 months ago