format
Format numbers with given pattern.
Example:
123456789.format() // 1,234,567,890
Content copied to clipboard
Since
1.1.0
Return
format number.
Parameters
pattern
default pattern is comma separator.
Format numbers with given pattern.
Example:
123456789.format() // 1,234,567,890
1.1.0
format number.
default pattern is comma separator.