<?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: Fixed point Arithemetic. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337438#M1397019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chaiphon ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its working fine .. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2009 18:26:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-23T18:26:57Z</dc:date>
    <item>
      <title>Fixed point Arithemetic.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337436#M1397017</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;&lt;/P&gt;&lt;P&gt;data: g(16) type c value '23.75',&lt;/P&gt;&lt;P&gt;      k(12) type c value '1.00000',&lt;/P&gt;&lt;P&gt;      l(16) type c.&lt;/P&gt;&lt;P&gt;l = g * k.&lt;/P&gt;&lt;P&gt;CONDENSE l.&lt;/P&gt;&lt;P&gt;write: l .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code will give 23.75  if  FIXED POINT ARITHMATIC CHECKBOX is checkd in the program attributes.&lt;/P&gt;&lt;P&gt;Other wise it will give output as  237500000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using such type of code in an Enhancement Implementation . there iam not able to check FIXED POINT ARITHMATIC CHECKBOX . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in such case how can i prceed with  FIXED POINT ARITHMATIC ..? . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;sarath P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 18:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337436#M1397017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T18:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed point Arithemetic.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337437#M1397018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you cannot check FIXED POINT ARITHMATIC CHECKBOX.&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: g type p DECIMALS 2 value '23.75',
k type p DECIMALS 5 value '1.00000',
l type p DECIMALS 7.
l = g * k.
write: l decimals 2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chaiphon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 18:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337437#M1397018</guid>
      <dc:creator>chaiphon</dc:creator>
      <dc:date>2009-10-23T18:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed point Arithemetic.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337438#M1397019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chaiphon ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its working fine .. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 18:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337438#M1397019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T18:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed point Arithemetic.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337439#M1397020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is because you are defining v_lc_netwr type ekpo-netwr which have only 3 decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for calculating without FIXED POINT ARITHMATIC CHECKBOX. you need to calculate the total decimal points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case netwr has 2 decimal and wkurs has 5 decimals so the total variable should have 7 decimals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 19:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337439#M1397020</guid>
      <dc:creator>chaiphon</dc:creator>
      <dc:date>2009-10-23T19:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed point Arithemetic.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337440#M1397021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well then declare your resultant variable as type p decimals 8. This will take care of the output for the exact result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 19:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337440#M1397021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T19:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed point Arithemetic.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337441#M1397022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But why are you doing arithmetic operations on character data? It is much more efficient to use packed decimal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 19:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fixed-point-arithemetic/m-p/6337441#M1397022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T19:33:07Z</dc:date>
    </item>
  </channel>
</rss>

