<?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 Rounding differences between QV 11 &amp; 12 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rounding-differences-between-QV-11-12/m-p/1289552#M403422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone noticed that rounding is performing differently in QV11.20 vs QV12.10?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NUM(102.06500, '#.00')&amp;nbsp; &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;=num(102.07500, '#.00')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="71.4" style="border: 1px solid #000000; width: 346.4px; height: 65.4px;" width="344.4"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;QV version&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;102.06500&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;102.07500&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;QV11.20 SR9&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.07&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;QV12.10 SR3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.06&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.08&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Is this a bug or a design difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2017 18:14:32 GMT</pubDate>
    <dc:creator>jrepucci15</dc:creator>
    <dc:date>2017-03-01T18:14:32Z</dc:date>
    <item>
      <title>Rounding differences between QV 11 &amp; 12</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-differences-between-QV-11-12/m-p/1289552#M403422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone noticed that rounding is performing differently in QV11.20 vs QV12.10?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NUM(102.06500, '#.00')&amp;nbsp; &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;=num(102.07500, '#.00')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="71.4" style="border: 1px solid #000000; width: 346.4px; height: 65.4px;" width="344.4"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;QV version&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;102.06500&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;102.07500&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;QV11.20 SR9&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.07&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;QV12.10 SR3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.06&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;102.08&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Is this a bug or a design difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-differences-between-QV-11-12/m-p/1289552#M403422</guid>
      <dc:creator>jrepucci15</dc:creator>
      <dc:date>2017-03-01T18:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding differences between QV 11 &amp; 12</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-differences-between-QV-11-12/m-p/1289553#M403423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ &lt;SPAN style="font-size: 10pt;"&gt;can help?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 23:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-differences-between-QV-11-12/m-p/1289553#M403423</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-03-01T23:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding differences between QV 11 &amp; 12</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-differences-between-QV-11-12/m-p/1289554#M403424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a design difference. Or rather, it is a bug-fix. There was a bug that caused a small unnecessary internal rounding, and that resulted in some corner cases being incorrectly rounded. But it was really only visible in cases where you wanted a tie-breaking, e.g.: Should 0.65 be rounded upwards to 0.7 or downwards to 0.6? So the version 12 behaviour should be more correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that 102.065 cannot be exactly represented internally - it has no exact binary representation. Hence, it is really not a tie-breaking issue. The number is &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;always&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; below or above the cutoff limit. See &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to test how the QIX engine handles real tie-breaks, you need to use exact binary numbers. Then you will find that it always rounds upwards, and that it hasn't changed between v11.2 and v12.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="155412" alt="v11.2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155412_v11.2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="155413" alt="v12.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/155413_v12.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 09:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-differences-between-QV-11-12/m-p/1289554#M403424</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2017-03-07T09:27:46Z</dc:date>
    </item>
  </channel>
</rss>

