Last active
October 12, 2021 03:38
-
-
Save ngseke/b7b5e2790445c6a39332b3078656a48c to your computer and use it in GitHub Desktop.
以逗點分隔數字
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { format } = new Intl.NumberFormat('en-US') | |
console.log(format(14501405)) // 14,501,405 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment