I formatted a TextBlock with:
to display a number in the format 99.9%.
With this string format, the user can write 9999999999%, it's wrong!
The part integer should be max of 2 number.
Thanks.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Akhil GargRank #772 · 3K reputationPosted May 14, 2015, 7:48 AM EDT
Roberto Salemi154 reputationPosted May 15, 2015, 6:39 AM EDT
Akhil GargRank #772 · 3K reputationPosted May 15, 2015, 6:55 AM EDT
Roberto Salemi154 reputationPosted May 18, 2015, 12:22 AM EDT
Akhil GargRank #772 · 3K reputationPosted May 18, 2015, 3:20 AM EDT
Roberto Salemi154 reputationPosted May 19, 2015, 12:07 AM EDT
Akhil GargRank #772 · 3K reputationPosted May 19, 2015, 1:37 AM EDT