first commit

This commit is contained in:
Lee
2024-09-08 22:35:32 +01:00
parent 5d86ed4b26
commit c8a7aa7d1d
51 changed files with 5299 additions and 5179 deletions

View File

@ -0,0 +1,9 @@
/**
* Formats a number without trailing zeros.
*
* @param num the number to format
* @returns the formatted number
*/
export function formatNumberWithCommas(num: number) {
return num.toLocaleString();
}