<?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: Add commas to an integer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413794#M819890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried converting it to an integer but it does not add the commas.  The issue is that the value is initially a character field (type ATWRT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 15:27:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-15T15:27:52Z</dc:date>
    <item>
      <title>Add commas to an integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413790#M819886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an integer that used to be a string.  This number is at least 10,000 (stored as 10000) and I would like to display it with the proper commas.  Is there any way to do this short of looping through the string and inserting them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413790#M819886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add commas to an integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413791#M819887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You may be declared as char type thats why it is coming as a number without commas. But if you declare it as an integer then you get the commas.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413791#M819887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add commas to an integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413792#M819888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write :  l_amt USING EDIT MASK 'RR___,___,___.__'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chandra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413792#M819888</guid>
      <dc:creator>former_member187255</dc:creator>
      <dc:date>2008-02-15T15:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add commas to an integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413793#M819889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Move the integer to a char variable ... and the character variable will&lt;/P&gt;&lt;P&gt;display it with the proper commas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_i type i ,&lt;/P&gt;&lt;P&gt;         v_c(12).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_i = 10000010.&lt;/P&gt;&lt;P&gt;write v_i to v_c.  &amp;lt;-- v_c contains  10,000,010&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413793#M819889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add commas to an integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413794#M819890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried converting it to an integer but it does not add the commas.  The issue is that the value is initially a character field (type ATWRT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413794#M819890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add commas to an integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413795#M819891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Move it to an integer and again move into a char field as below .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If U have v_atwrt as 10000010...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_i type i ,&lt;/P&gt;&lt;P&gt;v_c(12).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_i = v_atwrt+0(8). &amp;lt;-- move char to I &lt;/P&gt;&lt;P&gt;write v_i to v_c. &amp;lt;-- v_c contains 10,000,010&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413795#M819891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add commas to an integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413796#M819892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas, thanks.  The issue was that I was doing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp_int = wa_items-ntgew.&lt;/P&gt;&lt;P&gt;temp_char = temp_int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I needed to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp_int = wa_items-ntgew.&lt;/P&gt;&lt;P&gt;write temp_int to temp_char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-commas-to-an-integer/m-p/3413796#M819892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:54:53Z</dc:date>
    </item>
  </channel>
</rss>

