<?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 Bug in frac() function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569622#M212264</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;When using the frac() - function&amp;nbsp; in calculations I have noticed that it "misbehaves".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example Frac(180.072) should return 0.072 but returns 0.072000000000003. This is quite an annoying problem, and it messes up a lot of my calculations which are dependent on the frac() - function.&lt;/P&gt;&lt;P&gt;Am I applying the frac() - function wrong, or is this a (.... known?) bug in QlikView? Is anyone else experiencing the same issue, and is there a hotfix for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently running on QV 11.2 64-bit version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2014 07:34:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-13T07:34:31Z</dc:date>
    <item>
      <title>Bug in frac() function</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569622#M212264</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;When using the frac() - function&amp;nbsp; in calculations I have noticed that it "misbehaves".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example Frac(180.072) should return 0.072 but returns 0.072000000000003. This is quite an annoying problem, and it messes up a lot of my calculations which are dependent on the frac() - function.&lt;/P&gt;&lt;P&gt;Am I applying the frac() - function wrong, or is this a (.... known?) bug in QlikView? Is anyone else experiencing the same issue, and is there a hotfix for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently running on QV 11.2 64-bit version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 07:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569622#M212264</guid>
      <dc:creator />
      <dc:date>2014-03-13T07:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in frac() function</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569623#M212265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I don't think it's a bug, but floating point calculation. See also &lt;/SPAN&gt;&lt;A class="" href="http://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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 07:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569623#M212265</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-13T07:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in frac() function</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569624#M212266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way could be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Right(180.072,index(180.072,'.')+1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 07:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569624#M212266</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-13T07:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in frac() function</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569625#M212267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really helpful post!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... I guess I flunked my programming class &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 09:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-in-frac-function/m-p/569625#M212267</guid>
      <dc:creator />
      <dc:date>2014-03-13T09:00:53Z</dc:date>
    </item>
  </channel>
</rss>

