Since there is no such function in JavaScript, how can we implement it? I will give this function below. You can add this sentence:
to your html page, or you can use
to add it to your asp page; or use include("formatnumber.js") ?>
to add it to php page; or use
to join the jsp page.
This formatnumber sub-function is as follows: