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