format
Format numbers with given pattern.
Example:
123456789.format() // 1,234,567,890Content 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,8901.1.0
format number.
default pattern is comma separator.