<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change text values to 3 decimal places in autocad using vb.net in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8086797#M25532</link>
    <description>&lt;P&gt;please help me how to do it the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jun 2018 05:50:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-23T05:50:21Z</dc:date>
    <item>
      <title>How to change text values to 3 decimal places in autocad using vb.net</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8084843#M25531</link>
      <description>&lt;P&gt;hi every one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have an array with some text values like elevation levels as&lt;/P&gt;&lt;P&gt;88, 92.19, 100.003, 102.1, ...................so on&lt;/P&gt;&lt;P&gt;i am using text as single line text&lt;/P&gt;&lt;PRE&gt; dim Text1 As DBText = &lt;SPAN class="hljs-function"&gt;New &lt;SPAN class="hljs-title"&gt;DBText&lt;/SPAN&gt;()&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;if i use as above, it is not inserting 3 decimal place&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to insert the text with 3 decimal places after the point as below&lt;/P&gt;&lt;P&gt;88.000&lt;/P&gt;&lt;P&gt;92.190&lt;/P&gt;&lt;P&gt;100.003&lt;/P&gt;&lt;P&gt;102.100&lt;/P&gt;&lt;P&gt;please help me how can i do it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;gvg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 09:37:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8084843#M25531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-22T09:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to change text values to 3 decimal places in autocad using vb.net</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8086797#M25532</link>
      <description>&lt;P&gt;please help me how to do it the same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 05:50:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8086797#M25532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T05:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to change text values to 3 decimal places in autocad using vb.net</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8086838#M25533</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please find &lt;A href="https://msdn.microsoft.com/en-us/library/microsoft.visualbasic.strings.format%28v=vs.110%29.aspx?f=255&amp;amp;MSPPError=-2147217396" target="_blank"&gt;&amp;gt;&amp;gt;&amp;gt;here&amp;lt;&amp;lt;&amp;lt;&lt;/A&gt; the syntax for String.Format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value has to be a double value, then you can use:&lt;/P&gt;
&lt;PRE&gt;TestStr = Format(YourDoubleValue, "###0.000")&lt;/PRE&gt;
&lt;P&gt;HTH, - alfred -&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 07:18:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8086838#M25533</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2018-06-23T07:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change text values to 3 decimal places in autocad using vb.net</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8087127#M25534</link>
      <description>&lt;P&gt;To add to the reply from&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/389680"&gt;@Alfred.NESWADBA&lt;/a&gt;, if your elevations are not doubles, you could use&amp;nbsp;&lt;A href="https://msdn.microsoft.com/en-us/library/system.convert.aspx" target="_blank"&gt;&amp;gt;&amp;gt;convert&amp;lt;&amp;lt;&lt;/A&gt;&amp;nbsp;if you are sure they are valid, or&amp;nbsp;&lt;A href="https://msdn.microsoft.com/en-us/library/994c0zb1(v=vs.110).aspx" target="_blank"&gt;&amp;gt;&amp;gt;tryparse&amp;lt;&amp;lt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;something like&lt;/P&gt;&lt;P&gt;Text1.Textstring = convert.todouble(elev).tostring("0.000")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 14:35:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8087127#M25534</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2018-06-23T14:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change text values to 3 decimal places in autocad using vb.net</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8087159#M25535</link>
      <description>&lt;DIV class="popup-img-data"&gt;&lt;DIV class="user-badges"&gt;thank you very much&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/389680" target="_blank"&gt;Alfred.NESWADBA&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class="user-badges"&gt;&lt;PRE&gt;&lt;STRONG&gt;TestStr = Format(YourDoubleValue, "###0.000")&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="user-badges"&gt;your answer is perfectly matched to my requirement.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="user-badges"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 23 Jun 2018 15:40:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8087159#M25535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T15:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to change text values to 3 decimal places in autocad using vb.net</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8087162#M25536</link>
      <description>&lt;P&gt;thanks you &lt;SPAN class=""&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/81963" target="_self"&gt;fieldguy&lt;/A&gt;&amp;nbsp;for your reply&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Text1.Textstring = convert.todouble(elev).tostring("0.000")&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;your solution also satisfies my requirement.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 15:42:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-text-values-to-3-decimal-places-in-autocad-using/m-p/8087162#M25536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-23T15:42:56Z</dc:date>
    </item>
  </channel>
</rss>

