<?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: limited rounding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836211#M1002252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A guess but how about multiplying your number by 1,000,000,000,000,000,000,000,000, rounding it then dividing it by the same number.&amp;nbsp; I have not counted number of zeroes I typed &amp;amp; expect it to be wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 11:13:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-05T11:13:19Z</dc:date>
    <item>
      <title>limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836210#M1002251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;I need to round numbers by the 19th decimal place.&lt;/P&gt;&lt;P&gt;In the menu of QlikView there is a possibility to round by the 14th place.&lt;/P&gt;&lt;P&gt;To round within the script or in a table didn't work with these numbers.&lt;/P&gt;&lt;P&gt;I think it will work with an if-loop, but that will only work exactly by a&lt;/P&gt;&lt;P&gt;repeat of a querry for each decimal place.&lt;/P&gt;&lt;P&gt;Somebody with an equal problem or a simpler answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice weekend!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836210#M1002251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-05T11:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836211#M1002252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A guess but how about multiplying your number by 1,000,000,000,000,000,000,000,000, rounding it then dividing it by the same number.&amp;nbsp; I have not counted number of zeroes I typed &amp;amp; expect it to be wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836211#M1002252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-05T11:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836212#M1002253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I believe 19 significant decimal digits is not supported by the floating point format used by QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably someone from QT could tell you more, e.g.&lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836212#M1002253</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-05T11:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836213#M1002254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried, but this didn't work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836213#M1002254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-05T11:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836214#M1002255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan is right. QlikView uses a 64-bit binary internally (See &lt;A href="http://en.wikipedia.org/wiki/Double-precision_floating-point_format"&gt;Double precision&lt;/A&gt;) and this means 14, sometimes 15, significant digits. Not more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836214#M1002255</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-06-05T11:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836215#M1002256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rounding especially by so many decimals will be difficult: &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt; and I'm not sure how many numbers and decimals qv could handle within the script - in gui it's max. 14 decimals. But you could try to display them as text. Maybe you could multiply your number with some big number, then rounding and afterwards you divide it again, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round(Number * pow(10, 12)) / pow(10, 12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you handle it completely as text and checked the 19th decimal and replace it - it will work but I think these approach will have some other disadvantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836215#M1002256</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-05T11:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836216#M1002257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to separate a first part as text and rounded the last one.&lt;/P&gt;&lt;P&gt;If the last part is rounded from 9 to 10 it should effect the first&lt;/P&gt;&lt;P&gt;part. And that ist the problem. It causes some loops to prevent&lt;/P&gt;&lt;P&gt;a chain when there are some '9'. Maybe for each digit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836216#M1002257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-05T11:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836217#M1002258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this would work at once, maybe it needs some adjustments with num() or on the syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text(floor(Number) &amp;amp; left(subfield(Number, ',' , 2), 17) &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mid(subfield(Number, ',' , 2), 18, 1)&amp;nbsp; + round(mid(subfield(Number, ',' , 2), 19, 1) / 10))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in general I have doubts if it will be a good idea to handle such numbers within complex string-operations and not in a specialized tool maybe mathematica and using whose output in qv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836217#M1002258</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-05T11:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836218#M1002259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could be easier if you multiply by a factor (1.000.000 for example) before loading into QlikView,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same way &lt;/P&gt;&lt;P&gt;1 mg -&amp;gt; 1 gram/1.000.000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 12:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836218#M1002259</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-06-05T12:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836219#M1002260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The database is from sql. Is it possible to cache transformed data before loading into QlikView without using another tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 08:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836219#M1002260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-10T08:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836220#M1002261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;Are you using a SQL SELECT or a procedure that has a &lt;SPAN style="font-size: 13.3333330154419px;"&gt;SQL SELECT within ritgh?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myfield/1000000 as myFieldTransformed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;[other fields]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;FROM mytable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836220#M1002261</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-06-10T11:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: limited rounding</title>
      <link>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836221#M1002262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which system does the 19 decimal numbers come from? What data type is it? If there is indeed a super high-precision floating point or decimal type of number it should be quite easy to round it by trying to get it in as a text string and then just pulling out the last few digits and based on a simple if round it to 14 digits floating point precision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going via any number format in QlikView and dividing or multiplying from that will never work as long as you try to treat the number as a single entity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you give us information on where the numbers come from. A SQL database? A CSV-file / Text-file or something? We could be able to give you better suggestions or solutions....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 17:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/limited-rounding/m-p/836221#M1002262</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-10T17:36:57Z</dc:date>
    </item>
  </channel>
</rss>

