Returns the square root 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).
Number of decimal places to round the result. Default is 12.
The square root of a.
a
sqrt("২৫"); // returns "৫"sqrt(25, true); // returns "5"sqrt("১০০", true); // returns "10"sqrt("১৬"); // returns "৪" Copy
sqrt("২৫"); // returns "৫"sqrt(25, true); // returns "5"sqrt("১০০", true); // returns "10"sqrt("১৬"); // returns "৪"
If the input is invalid or not a number.
Returns the square root of a number (can be in Bangla or English digits).