File manager - Edit - /home/custbahd/public_html/webs/monitor/clients/pilaucity/js/js-add-comma/1-locale.html
Back
<!DOCTYPE html> <html> <head> <title>Add Comma</title> <script> // (A) THE NUMBER var num = 1234567.89; // (B) TO LOCALE STRING console.log(num.toLocaleString("en-US")); // 1,234,567.89 console.log(num.toLocaleString("fr-FR")); // 1 234 567,89 console.log(num.toLocaleString("ja-JP", { style: "currency", currency: "JPY" })); </script> </head> <body> 1234567.89 </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 1.91 |
proxy
|
phpinfo
|
Settings