<?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: How to restrict to excatly 2 Decimal points in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67746#M771512</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;try :&lt;/P&gt;&lt;P&gt;Round(your number*100)/100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 10:04:03 GMT</pubDate>
    <dc:creator>ogautier62</dc:creator>
    <dc:date>2018-06-07T10:04:03Z</dc:date>
    <item>
      <title>How to restrict to excatly 2 Decimal points in Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67742#M771505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use the below expression in my script &lt;/P&gt;&lt;P&gt;Round((Sum(Total1)/Sum(Total2))*100,0.01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get results as in the below screenshot&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Unbenannt.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204523_Unbenannt.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some values only have 1 decimal point, some don't have decimal point at all and few have more then 2 decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would like to have is to restrict all the values to 2 decimal points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: -9,80&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -9,41&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -5,00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67742#M771505</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict to excatly 2 Decimal points in Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67743#M771507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Round((Sum(Total1)/Sum(Total2))*100,0.01)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;, '##.00')&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 07:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67743#M771507</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-06-07T07:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict to excatly 2 Decimal points in Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67744#M771509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Unbenannt.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204536_Unbenannt.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 07:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67744#M771509</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2018-06-07T07:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict to excatly 2 Decimal points in Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67745#M771511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use num function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Your Field,'###.00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 09:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67745#M771511</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-06-07T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict to excatly 2 Decimal points in Script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67746#M771512</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;try :&lt;/P&gt;&lt;P&gt;Round(your number*100)/100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 10:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-to-excatly-2-Decimal-points-in-Script/m-p/67746#M771512</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-06-07T10:04:03Z</dc:date>
    </item>
  </channel>
</rss>

