<?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: BODMAS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bodmas/m-p/7940970#M1600737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arith_exp - arithmetic operators &lt;/P&gt;&lt;P&gt;The table shows the possible arithmetic operators arithmetic expressions, their priority, and the order of calculation. Within one set of parentheses (see below), calculations with operators of higher priority are performed before calculations with operators of a lower priority. For consecutive operators with the same priority, the calculation is performed in the order specified in the table. In the third column of the table, 3 indicates the highest priority and 1 the lowest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operator	Calculation					Priority	Order&lt;/P&gt;&lt;P&gt;+	Addition of operands				1	from left to right&lt;/P&gt;&lt;P&gt;-	Subtraction of the right from the left operand		1	left to right&lt;/P&gt;&lt;P&gt;*	Multiplication of operands				2	from left to right&lt;/P&gt;&lt;P&gt;/	Division of the left by the right operand			2	from left to right&lt;/P&gt;&lt;P&gt;DIV	Integer portion of the division of the left by the right operand	2	from left to right&lt;/P&gt;&lt;P&gt;MOD	Integer remainder of the division of the left by the right operand	2	from left to right&lt;/P&gt;&lt;P&gt;**	Exponentiation of the left with the right operand		3	from right to left&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2011 20:48:28 GMT</pubDate>
    <dc:creator>nipuna_senaviratna3</dc:creator>
    <dc:date>2011-06-14T20:48:28Z</dc:date>
    <item>
      <title>BODMAS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bodmas/m-p/7940969#M1600736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now lets assume that we don't have absolute figures but variables,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;" Assume that all the values are of type XKWERT&lt;/P&gt;&lt;P&gt;A = 1&lt;/P&gt;&lt;P&gt;B = 3&lt;/P&gt;&lt;P&gt;C = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Z = A / B * C&lt;/P&gt;&lt;P&gt;Z = 1/9 = 0.111111111&lt;/P&gt;&lt;P&gt;How does this happen? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now as strange behaviour has been noticed, in one of our clients Z = 1 and in other client z = 0.111111111&lt;/P&gt;&lt;P&gt;Please let me know the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which scenario will this happen??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dantham Conplowedson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 18:14:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bodmas/m-p/7940969#M1600736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-14T18:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: BODMAS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bodmas/m-p/7940970#M1600737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arith_exp - arithmetic operators &lt;/P&gt;&lt;P&gt;The table shows the possible arithmetic operators arithmetic expressions, their priority, and the order of calculation. Within one set of parentheses (see below), calculations with operators of higher priority are performed before calculations with operators of a lower priority. For consecutive operators with the same priority, the calculation is performed in the order specified in the table. In the third column of the table, 3 indicates the highest priority and 1 the lowest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operator	Calculation					Priority	Order&lt;/P&gt;&lt;P&gt;+	Addition of operands				1	from left to right&lt;/P&gt;&lt;P&gt;-	Subtraction of the right from the left operand		1	left to right&lt;/P&gt;&lt;P&gt;*	Multiplication of operands				2	from left to right&lt;/P&gt;&lt;P&gt;/	Division of the left by the right operand			2	from left to right&lt;/P&gt;&lt;P&gt;DIV	Integer portion of the division of the left by the right operand	2	from left to right&lt;/P&gt;&lt;P&gt;MOD	Integer remainder of the division of the left by the right operand	2	from left to right&lt;/P&gt;&lt;P&gt;**	Exponentiation of the left with the right operand		3	from right to left&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 20:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bodmas/m-p/7940970#M1600737</guid>
      <dc:creator>nipuna_senaviratna3</dc:creator>
      <dc:date>2011-06-14T20:48:28Z</dc:date>
    </item>
  </channel>
</rss>

