Sunday, September 12, 2010

c# string format

Programmer Question

Hi Guys,



How do I get the output of this to read 0 instead of 00 when the value is 0?



String.Format("{0:0,0}", myDouble);


Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails