<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Leading zero in format ignored?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Leading zero in format ignored?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 24 May 2026 10:53:47 +0000</pubDate>
  <lastBuildDate>Wed, 05 Jan 2011 01:52:34 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=5106</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Leading zero in format ignored? : Is there a workaround to this?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5106&amp;PID=62081&amp;title=leading-zero-in-format-ignored#62081</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6558">Miles</a><br /><strong>Subject:</strong> 5106<br /><strong>Posted:</strong> 05 January 2011 at 1:52am<br /><br />Is there a workaround to this? I need to use Format =&nbsp;"%01.03f"&nbsp;to force three 0's after the decimal separator (e.g. 33.000),&nbsp;but I also need to set UseSystemDecimalSymbol = True to support international locales where they use comma as the decimal separator. It seems that you still need so set UseSystemDecimalSeparator = False. Thanks!]]>
   </description>
   <pubDate>Wed, 05 Jan 2011 01:52:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5106&amp;PID=62081&amp;title=leading-zero-in-format-ignored#62081</guid>
  </item> 
  <item>
   <title><![CDATA[Leading zero in format ignored? : Try set  i.UseSystemDecimalSymbol...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5106&amp;PID=15937&amp;title=leading-zero-in-format-ignored#15937</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5106<br /><strong>Posted:</strong> 20 September 2006 at 1:47pm<br /><br />Try set <DIV>i.UseSystemDecimalSymbol = False</DIV>]]>
   </description>
   <pubDate>Wed, 20 Sep 2006 13:47:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5106&amp;PID=15937&amp;title=leading-zero-in-format-ignored#15937</guid>
  </item> 
  <item>
   <title><![CDATA[Leading zero in format ignored? :  Hi  Im using the proprty grid...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5106&amp;PID=15931&amp;title=leading-zero-in-format-ignored#15931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1989">RobinG</a><br /><strong>Subject:</strong> 5106<br /><strong>Posted:</strong> 20 September 2006 at 12:03pm<br /><br /><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1><DIV>Hi</DIV><DIV>&nbsp;</DIV><DIV>Im using the proprty grid to display prices, so I request formatting to two decimal places with the example below:</DIV><DIV>&nbsp;</DIV><DIV><strong><FONT color=#000099>Dim i As XtremePropertyGrid.PropertyGridItemDouble<BR>Set i = PropCategory.AddChildItem(PropertyItemDouble, COL_HDR_PRICING_RETAIL, 0)<BR>i.Id = 1 + COL_POS_PRICING_RETAIL<BR>i.Format = "%0.02f"</FONT></strong></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The problem is, that if the data is 2.00 - the propery grid show it as "2" not "2.00" like i want, if data is 2.34, then it correctly shows "2.34" - basically, the leading zero is not working.</DIV><DIV>&nbsp;</DIV><DIV>The documentation doesnt say its possible, but I figured its "standard" printf() formatting but unfortunatly it does work - is there any way to achive this?</DIV><DIV>&nbsp;</DIV><DIV>Im using 9.81 (still...!)</DIV></FONT>]]>
   </description>
   <pubDate>Wed, 20 Sep 2006 12:03:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5106&amp;PID=15931&amp;title=leading-zero-in-format-ignored#15931</guid>
  </item> 
 </channel>
</rss>