<?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: decimal/comma format Conversion to integer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856905#M1320716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 12:15:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-05T12:15:30Z</dc:date>
    <item>
      <title>decimal/comma format Conversion to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856902#M1320713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to convert a number into integer.&lt;/P&gt;&lt;P&gt;The number could be of the format 253.235,000 or 253,235.000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any standard procedures to do the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 15:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856902#M1320713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T15:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: decimal/comma format Conversion to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856903#M1320714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : number type int4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_number = ceil ( 253,235.000 ).&lt;/P&gt;&lt;P&gt;"now the w_number contains integer part..--253,235&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the below statements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sign   ---Plus/minus sign of the argument arg: -1, if the value of arg is negative; 0 if the value of arg is 0; 1 if the value of &lt;/P&gt;&lt;P&gt;              arg is   positive. &lt;/P&gt;&lt;P&gt;ceil    --- Smallest integer number that is not smaller than the value of the argument arg. &lt;/P&gt;&lt;P&gt;floor   -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;Largest integer number that is not larger than the value of the argument arg. &lt;/P&gt;&lt;P&gt;trunc   ---Value of the integer part of the argument arg &lt;/P&gt;&lt;P&gt;frac   ---Value of the decimal places of the argument arg &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 15:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856903#M1320714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T15:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: decimal/comma format Conversion to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856904#M1320715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i think that u can use the function &lt;STRONG&gt;ROUND&lt;/STRONG&gt;, have a look&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: a type p value '100.635' decimals 3,
b type i.

CALL FUNCTION 'ROUND'
EXPORTING
DECIMALS = '0'
input = a
IMPORTING
OUTPUT = b
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doing ur problem is solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 15:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856904#M1320715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T15:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: decimal/comma format Conversion to integer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856905#M1320716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 12:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decimal-comma-format-conversion-to-integer/m-p/5856905#M1320716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T12:15:30Z</dc:date>
    </item>
  </channel>
</rss>

