feat: add formatCurrency helper

This commit is contained in:
Norbert Maciaszek
2025-11-17 18:41:40 +01:00
parent a2f1a97578
commit 7c5366db7a

View File

@@ -0,0 +1,7 @@
export const formatCurrency = (amount: number) => {
return new Intl.NumberFormat('pl-PL', {
style: 'currency',
currency: 'PLN',
useGrouping: true
}).format(amount);
};