summaryrefslogtreecommitdiff
path: root/src/core/utils/currencyFormat.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/utils/currencyFormat.js')
-rw-r--r--src/core/utils/currencyFormat.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/utils/currencyFormat.js b/src/core/utils/currencyFormat.js
index 31f4a8dc..12b68111 100644
--- a/src/core/utils/currencyFormat.js
+++ b/src/core/utils/currencyFormat.js
@@ -1,10 +1,10 @@
const currencyFormat = (value) => {
const currency = new Intl.NumberFormat('id-ID', {
- style: 'currency',
+ style: 'currency',
currency: 'IDR',
maximumFractionDigits: 0
})
return currency.format(value)
}
-export default currencyFormat \ No newline at end of file
+export default currencyFormat