In SharePoint Online, I have a column number and I need to create a JSON column formatting with a conditional background. But I had noticed that the JSON column formatting removes the thousands separator from a number and it doesn't display the comma separator for long number Ex: 50,000 show it as 50000.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField",
"style": {
"background-color": "=if(@currentField < 1000,'Orange', 'Yellow')"
}
}
No Thousand Separator in JSON Column Formatting
My question is How to apply JSON column formatting without removing Thousand Separator in SharePoint Online?