Format snippets
This commit is contained in:
@ -3,7 +3,7 @@ title: formatNumber
|
||||
tags: string,math,beginner
|
||||
---
|
||||
|
||||
Returns a number using the local number format order.
|
||||
Formats a number using the local number format order.
|
||||
|
||||
- Use `Number.prototype.toLocaleString()` to convert a number to using the local number format separators.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user