Merge branch 'main' into VRChat

This commit is contained in:
2023-04-23 14:27:39 +07:00
committed by GitHub
6 changed files with 542 additions and 498 deletions
+9
View File
@@ -0,0 +1,9 @@
export default class StringUtils {
public static numberWithCommas(x: Number) {
try {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
} catch (err) {
return x;
}
}
}