<?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: Rounding formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710661#M1058051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/12/17/rounding-errors"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/12/17/rounding-errors&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Ceil (0.045*5,0.01) will return you 0.23&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 08:16:18 GMT</pubDate>
    <dc:creator>ashfaq_haseeb</dc:creator>
    <dc:date>2014-10-13T08:16:18Z</dc:date>
    <item>
      <title>Rounding formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710660#M1058050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rounding&amp;nbsp; value&lt;/P&gt;&lt;P&gt;ROUND(0.225,0.01)=0.23&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i'am going to use&amp;nbsp; &lt;/P&gt;&lt;P&gt;Round (0.045*5,0.01)= 0.22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are the results different?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710660#M1058050</guid>
      <dc:creator>rein_nigul</dc:creator>
      <dc:date>2014-10-13T08:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710661#M1058051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/12/17/rounding-errors"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/12/17/rounding-errors&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Ceil (0.045*5,0.01) will return you 0.23&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710661#M1058051</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-13T08:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710662#M1058052</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;Read Henric's post as suggested by Ashfaq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0.045 * 5 is calculated internally as two binary numbers, so is &lt;EM&gt;almost&lt;/EM&gt;, but not quite, equal to 0.225. In this case, it appears as if, internally, its something like 0.224999999999999999..., which is being rounded down (correctly), to 0.22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710662#M1058052</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-10-13T08:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding formula</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710663#M1058053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further to other answers, have you tried double-rounding ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0.045*5,'0.001'),'0.01') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... it works on that example, and a quick check for 1000 numbers in a table chart all worked correctly, however I would fully test it and following Henric's advice is probably the best advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-formula/m-p/710663#M1058053</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2014-10-13T08:50:09Z</dc:date>
    </item>
  </channel>
</rss>

