I have some integer values (between 1 and 100) and I want to use them in a progress bar, that has a DisplayFormatString property.
I also want to have the percent symbol ‘%’ in the output string.
The problem is that by using the symbol, it automatically multiplies my value with 100, and it shows my values like 3300% when I wanted them 33%. How may I overcome this?
DisplayFormatString="0%"
Try using
0'%'as theDisplayFormatString, (percentage in single quotes) this should help in achieving to append the percentage sign to your number. So you get33%.One more thing you could try maybe is
0\\%(not sure if it would work or not) but should work out to the same33%as you desire.