<?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 Rounding off to 3 decimals in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605053#M1437955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;         please help me in the issue . i am calculating the contion value in one of the rouitne value xkomv-kbetr(11 dec 2) is rounded off to 2 due to which i am getting difference in final value . i want it rounded off to 3 decimals how can i acheive it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2010 09:29:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-15T09:29:25Z</dc:date>
    <item>
      <title>Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605053#M1437955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;         please help me in the issue . i am calculating the contion value in one of the rouitne value xkomv-kbetr(11 dec 2) is rounded off to 2 due to which i am getting difference in final value . i want it rounded off to 3 decimals how can i acheive it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 09:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605053#M1437955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T09:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605054#M1437956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the formula you are using &amp;amp; what is the definition of he variables used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a custom code you can change the output variable to &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPE p DECIMALS 3&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 09:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605054#M1437956</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-15T09:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605055#M1437957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;output varaible is xkomv-kbetr which is standard and its length is 11 with 2 decimals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 09:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605055#M1437957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605056#M1437958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you doing the calculation in some custom report or in some enhancement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 09:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605056#M1437958</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-15T09:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605057#M1437959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that Std SAP accepts only 2 decimals. In case you are calculating values in a routine or user exit, the total calues mught not match.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 09:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605057#M1437959</guid>
      <dc:creator>neelavraj_duara2</dc:creator>
      <dc:date>2010-02-15T09:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605058#M1437960</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 am using routine to get the value and passing it to xkomv-kbetr(11 length 2 deci) so how do i roundoff it to 3 decimals&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 10:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605058#M1437960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T10:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605059#M1437961</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;For that it's better to use any z data element. You can use your own with 3 decimals. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 10:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605059#M1437961</guid>
      <dc:creator>Abhijit74</dc:creator>
      <dc:date>2010-02-15T10:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605060#M1437962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you be more specific in explaining your requirement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways if you can change the export param( TYPE xkomv-kbetr), i don't think you have much option here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 10:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605060#M1437962</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-15T10:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605061#M1437963</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;Your target field should have 3 decimals to get the accurate value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 12:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605061#M1437963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T12:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605062#M1437964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your post, I'm assuming that you don't need the result as 3 decimal places but just the intermediate calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, when creating a percentage, you can use either of the following formulas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a = ( b / c ) * 100.&lt;/P&gt;&lt;P&gt;a = ( b * 100 ) / c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming a, b and c are all  two decimal place variables.&lt;/P&gt;&lt;P&gt;The first example will have rounding issues.&lt;/P&gt;&lt;P&gt;The second example will give the desired results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your results, you can either use local variables to do calculations or perhaps arrange the formula (as shown in the example) so significant digits aren't truncated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 22:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605062#M1437964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T22:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding off to 3 decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605063#M1437965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 04:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rounding-off-to-3-decimals/m-p/6605063#M1437965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T04:54:20Z</dc:date>
    </item>
  </channel>
</rss>

