diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-22 11:03:34 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-22 11:03:34 +0700 |
| commit | f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c (patch) | |
| tree | 253dcf854a3c92e09ca846e86a09e5b4c5d16be1 /src/core/utils/currencyFormat.js | |
| parent | 3c559031623649a67825ff47f34512f0eb946861 (diff) | |
prettier
Diffstat (limited to 'src/core/utils/currencyFormat.js')
| -rw-r--r-- | src/core/utils/currencyFormat.js | 4 |
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 |
