BizTalk Blog by Chris Han

System Design for Enterprise Agility,

  Home  |   Contact  |   Syndication    |   Login
  68 Posts | 9 Stories | 173 Comments | 79 Trackbacks

News

Article Categories

Archives

Post Categories

Image Galleries

BizTalk Bloggers

BizTalk on MSDN

Patterns & Architecture

SharePoint

September 2008 Entries

I was trying format my dropdown list to should the decimal numbers as pecentange. But the MSDN article is not completed. It turned out that {0:P2} is what I'm looking for. Here is the full list regarding the string format: Data Formatting for DataTextFormatString Format String Description {0:Cn} Currency. Displays numeric values in currency format with a leading dollar sign; n indicates the number of decimal places. If n is omitted, the default currency precision is two decimal digits. {0:Dn} Decimal....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati