<?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: Round the resut to two decimal in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793625#M62155</link>
    <description>&lt;P&gt;Not really, see:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rounding-Errors/ba-p/1468808" target="_blank"&gt;Rounding Errors - Qlik Community - 1468808&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 23 Mar 2021 09:17:12 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-03-23T09:17:12Z</dc:date>
    <item>
      <title>Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793123#M62092</link>
      <description>&lt;P&gt;Hey Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing an issue on trying to fix my client data.&lt;/P&gt;&lt;P&gt;Here is the formula:&lt;/P&gt;&lt;P&gt;round(colA * colB / 100,0.01)&lt;/P&gt;&lt;P&gt;So I am expected to get my result in two decimals.&lt;/P&gt;&lt;P&gt;But this is what I get from Round function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="euriss_sow_1-1616316784180.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51520i59D70A27D4978255/image-size/medium?v=v2&amp;amp;px=400" role="button" title="euriss_sow_1-1616316784180.png" alt="euriss_sow_1-1616316784180.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anything ends with 9, round-up work unexpected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793123#M62092</guid>
      <dc:creator>euriss_sow</dc:creator>
      <dc:date>2021-12-20T21:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793160#M62094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2317"&gt;@euriss_sow&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Try this&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;num(ori_result,'#,##0.00') as result_new,&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 21 Mar 2021 21:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793160#M62094</guid>
      <dc:creator>joaopaulo_delco</dc:creator>
      <dc:date>2021-03-21T21:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793470#M62131</link>
      <description>&lt;P&gt;Qlik used a binary number-system. This means that many decimal-numbers haven't an exact binary&amp;nbsp;equivalent. In your case the number 0.595 isn't available else the binary of it is a bit smaller and probably like this:&amp;nbsp;0.594970703 which then leads to your seen rounding. It's not really wrong.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 17:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793470#M62131</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-03-22T17:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793583#M62146</link>
      <description>&lt;P&gt;One workaround is to perform rounding before division.&lt;/P&gt;&lt;P&gt;The expression should look like this :&lt;/P&gt;&lt;P&gt;round(colA*colB)/100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;BR /&gt;Arthur Fong&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 07:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793583#M62146</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2021-03-23T07:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793585#M62147</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;The figure is exact 0.595.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 07:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793585#M62147</guid>
      <dc:creator>euriss_sow</dc:creator>
      <dc:date>2021-03-23T07:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793587#M62148</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/11028"&gt;@joaopaulo_delco&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-inline-reply-author"&gt;this I have tried before, I can get as two decimals but if I reuse this column for calculation. it will still count as 0.595.&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Mar 2021 07:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793587#M62148</guid>
      <dc:creator>euriss_sow</dc:creator>
      <dc:date>2021-03-23T07:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793625#M62155</link>
      <description>&lt;P&gt;Not really, see:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rounding-Errors/ba-p/1468808" target="_blank"&gt;Rounding Errors - Qlik Community - 1468808&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 09:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793625#M62155</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-03-23T09:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793633#M62156</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2317"&gt;@euriss_sow&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might be, this link helps you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Round-function-giving-sometimes-incorrect-results/td-p/695933" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Round-function-giving-sometimes-incorrect-results/td-p/695933&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ex: Round(0.595+ 0.0000000001,0.01)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 09:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793633#M62156</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-03-23T09:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Round the resut to two decimal</title>
      <link>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793892#M62172</link>
      <description>&lt;P&gt;We have tested with this formula&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;round(11.9*(5/100),0.01) = 0.60&lt;/P&gt;&lt;P&gt;round(11.9*5/100,0.01) = 0.59&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the difference here?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 03:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Round-the-resut-to-two-decimal/m-p/1793892#M62172</guid>
      <dc:creator>euriss_sow</dc:creator>
      <dc:date>2021-03-24T03:51:28Z</dc:date>
    </item>
  </channel>
</rss>

