<html>
<body>
<h1>JavaScript Number toLocaleString()</h1>
<p>This method formats a number into a string, using language specific format.</p>
<p>In this example we use the "fi-FI" value to specify the locale number format in FINLAND.</p>
<script>
var num = new Number(1000000).toLocaleString("fi-FI");
document.write(num);
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_tolocalestring_num by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:01:31 GMT -->
</html>