Number with thousand separator and no decimal digits

Is there a way to show a number with the local thousand separator and with no decimal digits? I tried toLocaleString() with several parameters with no luck, I always get 2 decimals.
Many thanks.

My advice is to keep the plugin device attribute numeric & do the number formatting in XAML. The MultiBinding option provides the ability to supply a numeric format. For this, I think you will want something like {0:N0}

Bill, thanks a lot as always!!, rthis exactly what I needed to show thw watts consumption of the Shelly emeters. I will post a new update of the Shelly plugin and templates which it even includes the new Pro second generation devices! I hope everything is going very well, best regards, Josep