<?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 help in small code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919018#M687271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA : A(2) TYPE N,&lt;/P&gt;&lt;P&gt;       B TYPE N.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF A GE 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B = A / 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a = 19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want here b = 1&lt;/P&gt;&lt;P&gt;when a = 20 or greater than 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats when b = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2007 18:48:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-19T18:48:22Z</dc:date>
    <item>
      <title>help in small code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919018#M687271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA : A(2) TYPE N,&lt;/P&gt;&lt;P&gt;       B TYPE N.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF A GE 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B = A / 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a = 19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want here b = 1&lt;/P&gt;&lt;P&gt;when a = 20 or greater than 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats when b = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 18:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919018#M687271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T18:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: help in small code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919019#M687272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use ROUND or FLOOR or  CEIL  or some other maths functions here&lt;/P&gt;&lt;P&gt;you will get it&lt;/P&gt;&lt;P&gt;see this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abs -Absolute value of the argument arg &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 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- 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;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 18:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919019#M687272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T18:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: help in small code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919020#M687273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B = floor( A / 10 ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 18:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919020#M687273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T18:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: help in small code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919021#M687274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution solved my problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 18:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-small-code/m-p/2919021#M687274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T18:56:07Z</dc:date>
    </item>
  </channel>
</rss>

