Intl.NumberFormat.prototype.format() - JavaScript
The format() method of Intl.NumberFormat instances formats a number according to the locale and formatting options of this Intl.NumberFormat object. Number FormatToParts · NumberFormat() constructor · formatRange() · Intl
Intl.NumberFormat - JavaScript
The Intl.NumberFormat object enables language-sensitive number formatting. NumberFormat() constructor · Intl.NumberFormat.prototype... · Intl.NumberFormat...
JavaScript Number Format
用法很簡單,直接把下面這段code 放在你的js 中就可以了! Number.prototype.numberFormat = function(c, d, t){ var n = this, c = isNaN(c = Math.abs(c)) ?
JavaScript Number Methods
The toString() method returns a number as a string. All number methods can be used on any type of numbers (literals, variables, or expressions).