mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
chore(FE-91): set formatNumber locale to id-ID as default
This commit is contained in:
+1
-2
@@ -19,7 +19,7 @@ export const cn = (...inputs: ClassValue[]) => {
|
||||
|
||||
export const formatNumber = (
|
||||
value: number | bigint | Intl.StringNumericLiteral,
|
||||
locale = 'en-US',
|
||||
locale = 'id-ID',
|
||||
minimumFractionDigits = 0,
|
||||
maximumFractionDigits = 2
|
||||
) => {
|
||||
@@ -29,7 +29,6 @@ export const formatNumber = (
|
||||
}).format(value);
|
||||
};
|
||||
|
||||
|
||||
export const formatCurrency = (
|
||||
value: number | bigint | Intl.StringNumericLiteral,
|
||||
currency = 'USD',
|
||||
|
||||
Reference in New Issue
Block a user