Returns the 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 natural logarithm of a (rounded to 12 decimal places).
a
log("১০"); // returns "১"log(10, true); // returns "1"log("১০০", true); // returns "2"log("২.৭১৮"); // returns "১" Copy
log("১০"); // returns "১"log(10, true); // returns "1"log("১০০", true); // returns "2"log("২.৭১৮"); // returns "১"
If the input is invalid or not a number.
Returns the logarithm of a number (can be in Bangla or English digits).