My code currently shows like this: 43521 reviews
, I want it be like this: 43,521 reviews
. How can I do that? and is there a full reference for all possible formats in StringFormat
? couldn't find anything. thanks.
<TextBlock Text="{Binding Reviews,StringFormat='{}{0} reviews'}"/>
This one also worked :)
<TextBlock Text="{Binding Reviews,StringFormat='{}{0:N0} reviews'}"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With