Over a million developers have joined DZone.

Find Log Base 10 Using Javascript

DZone's Guide to

Find Log Base 10 Using Javascript

Free Resource
We can't calculate the Log for 10 in js.

function calculate() {
	var log1 = document.getElementById('log').value;
	var base1 =10;
	var dn=1;
	var ans=Math.log(log1)/dn;

This is the tool which calculate the log for any base from this tool. Log calculator

For online Currency Conversion
Currency Conversion

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}