I am getting data from the server using jQuery data table, now I want to format all the price or numbers getting from the server to two decimal places using javascript.
How can I do it?
For example:
...Hello, I want to remove all special characters using javascript, so which is the best method to do it? For example, I have a string "#number 1 \ number 2
", how can I get output as