Geeks With Blogs
Confessions of an Evangelist October 2013 Entries
String Formatting expressions
One of the things that it seems like I am often looking up is how to use String.Format to display values in my applications. I’ve found that while Visual Studio in some situations such as WPF XAML editing has features built in, in other cases it is lacking. For that reason I wanted to post a table with some of the more common expressions. I found this useful, hopefully you will too. Basic numeric formatting Format specifier Name 1234.56 (double) -100000 (int) Description {0:c} Currency $123.45 ($-100,000.00) ......

Posted On Tuesday, October 8, 2013 3:45 PM

Copyright © Mike Benkovich | Powered by: GeeksWithBlogs.net