Returns the base 10 logarithm of a number (can be in Bangla or English digits).
Number (Bangla or English digits).
If true, returns the result in English digits. Default is false (returns Bangla digits).
The base 10 logarithm of a (rounded to 12 decimal places).
a
log10("১০"); // returns "১"log10(10, true); // returns "1"log10("১০০", true); // returns "2"log10("১০০০"); // returns "৩" Copy
log10("১০"); // returns "১"log10(10, true); // returns "1"log10("১০০", true); // returns "2"log10("১০০০"); // returns "৩"
If the input is invalid or not a number.
Returns the base 10 logarithm of a number (can be in Bangla or English digits).