This commit is contained in:
NotII
2025-04-02 00:27:27 +01:00
parent 89cba59556
commit e5eba12cbe
6 changed files with 282 additions and 3 deletions

6
utils/format.ts Normal file
View File

@@ -0,0 +1,6 @@
export const formatCurrency = (amount: number): string => {
return new Intl.NumberFormat('en-GB', {
style: 'currency',
currency: 'GBP'
}).format(amount);
};