<?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 round of values using Round Function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037587#M1500243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@modos,&lt;/P&gt;&lt;P&gt;i request you to allow or direct people to search these questions.. hope you will agree with me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 02:11:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-01T02:11:26Z</dc:date>
    <item>
      <title>how to round of values using Round Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037584#M1500240</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;&lt;/P&gt;&lt;P&gt;i have made a WIHTHOLDING TAX REPORT in which there's a filed of &lt;STRONG&gt;tax rate&lt;/STRONG&gt; in percent.The issue is that *tax rate * field given me point values which i want to be round off,for example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TAX RATE&lt;/STRONG&gt; is giving value of 5.9979 and i want it to be round off.It should be 6.Another example is if &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TAX RATE&lt;/STRONG&gt; is giving value of 3.3982 and i want it to be round off.It should be 3.3.&lt;/P&gt;&lt;P&gt;Another thing is that   *TAX RATE * filed is giving 4 digit after point but i want it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 11:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037584#M1500240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-31T11:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to round of values using Round Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037585#M1500241</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;look here: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="9150910"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 11:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037585#M1500241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-31T11:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to round of values using Round Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037586#M1500242</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;  You can use function module ROUND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'ROUND'
       EXPORTING
            DECIMALS      = ANDEC
            INPUT         = VI_F
            SIGN          = RT
       IMPORTING
            OUTPUT        = VO_F
       EXCEPTIONS
            INPUT_INVALID = 1
            OVERFLOW      = 2
            TYPE_INVALID  = 3
            OTHERS        = 4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Carlos Machado on May 31, 2010 11:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 21:52:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037586#M1500242</guid>
      <dc:creator>former_member214857</dc:creator>
      <dc:date>2010-05-31T21:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to round of values using Round Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037587#M1500243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@modos,&lt;/P&gt;&lt;P&gt;i request you to allow or direct people to search these questions.. hope you will agree with me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 02:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037587#M1500243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T02:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to round of values using Round Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037588#M1500244</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;I found one statement in order to work with this round function.It is really simple..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a try and let me know.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example is given below.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA pack TYPE p VALUE '123.456'&lt;/P&gt;&lt;P&gt;                                DECIMALS 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE pack DECIMALS 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / pack ROUND -2,&lt;/P&gt;&lt;P&gt;       / pack ROUND -1,&lt;/P&gt;&lt;P&gt;       / pack ROUND 1,&lt;/P&gt;&lt;P&gt;       / pack ROUND 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 04:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037588#M1500244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T04:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to round of values using Round Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037589#M1500245</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;You can use the CEIL function..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_ouput = CEIL( tax_rate ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / v_output. &lt;/P&gt;&lt;P&gt;that is the most easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 04:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037589#M1500245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T04:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to round of values using Round Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037590#M1500246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rounding a value using 'FM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: num(10) type p decimals 4.&lt;/P&gt;&lt;P&gt;data: num1(5) type p decimals 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num = '4.017'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ROUND'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DECIMALS = 2&lt;/P&gt;&lt;P&gt;INPUT = num&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SIGN = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;OUTPUT = num1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NPUT_INVALID = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OVERFLOW = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*TYPE_INVALID = 3&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OTHERS = 4&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U could have try this to resove this query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 04:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-round-of-values-using-round-function/m-p/7037590#M1500246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T04:49:55Z</dc:date>
    </item>
  </channel>
</rss>

