This commit is contained in:
Kenneth Jannette
2023-04-17 01:46:23 -05:00
commit d0405a00eb
26 changed files with 31407 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
export const formatNums = (x) => {
if (x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")
} else {
return ''
}
}