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