The Standard LibrarymathMethodslog10On this pagelog10Computes the base-10 logarithm. log10(10); // 1 Syntax log10(value) Returns The computation as a double.