Issue #166: Done.

This commit is contained in:
chiayin
2023-10-04 16:54:19 +08:00
parent 8a9f6ecd2e
commit a93fca36f5
9 changed files with 26 additions and 31 deletions

View File

@@ -1,5 +1,6 @@
/**
* 將數字轉換成帶有逗號格式(ex: 1000 -> 1,000)
* 也可以改用原生 JS 方法 `.toLocaleString('en-US')`
* @param {number} num
* @returns
*/