7 lines
162 B
TypeScript
7 lines
162 B
TypeScript
|
export const currencyFormatter = new Intl.NumberFormat("ru", {
|
||
|
currency: "RUB",
|
||
|
style: "currency",
|
||
|
compactDisplay: "short",
|
||
|
minimumFractionDigits: 0,
|
||
|
});
|