<?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: Why doesn't this calculation work? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119653#M1816992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help guys but I think it's a setting in the class that is causing the problem:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/392092" /&gt;&lt;/P&gt;&lt;P&gt;Changing it means it is now working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else encountered this?&lt;/P&gt;&lt;P&gt;Why do SAP not set this be default?!&lt;/P&gt;&lt;P&gt;Very frustrating!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 18:37:34 GMT</pubDate>
    <dc:creator>former_member195355</dc:creator>
    <dc:date>2014-02-19T18:37:34Z</dc:date>
    <item>
      <title>Why doesn't this calculation work?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119650#M1816989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some code that is doing a basic division calculation but it is always returning a value of zero:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/392069" height="62" width="1008" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to understand why this should be the case?&lt;/P&gt;&lt;P&gt;It should be a simple case of just 20,000 / 10,000 = 2&lt;/P&gt;&lt;P&gt;Not 20,000 / 10,000 = 0?&lt;/P&gt;&lt;P&gt;Can anyone smarter than me figure out what is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119650#M1816989</guid>
      <dc:creator>former_member195355</dc:creator>
      <dc:date>2014-02-19T18:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this calculation work?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119651#M1816990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think it is happening because of the decimal places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For lv_total you have two decimal places and menge you have 3 decimal places. i am not sure about the reason but can you try putting one of them in proper format(i think putting lv_total into 3 decimal variable would be better)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119651#M1816990</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-02-19T18:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this calculation work?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119652#M1816991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show us the data statements for the three variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119652#M1816991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-19T18:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this calculation work?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119653#M1816992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help guys but I think it's a setting in the class that is causing the problem:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/392092" /&gt;&lt;/P&gt;&lt;P&gt;Changing it means it is now working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else encountered this?&lt;/P&gt;&lt;P&gt;Why do SAP not set this be default?!&lt;/P&gt;&lt;P&gt;Very frustrating!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119653#M1816992</guid>
      <dc:creator>former_member195355</dc:creator>
      <dc:date>2014-02-19T18:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't this calculation work?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119654#M1816993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;k, got it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-this-calculation-work/m-p/10119654#M1816993</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-02-19T18:43:56Z</dc:date>
    </item>
  </channel>
</rss>

