<?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 Reducing Decimal Points in a Text Box to Zero in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993034#M977914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine this is a pretty straight forward thing to fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the below expression in a text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;='No of Products&lt;BR /&gt; ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which returns the below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96920_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see it is giving me back a seemingly infinite amount of decimal places, How do I get the above expression to just return 32 as the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 13:03:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-25T13:03:52Z</dc:date>
    <item>
      <title>Reducing Decimal Points in a Text Box to Zero</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993034#M977914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine this is a pretty straight forward thing to fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the below expression in a text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;='No of Products&lt;BR /&gt; ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which returns the below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96920_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see it is giving me back a seemingly infinite amount of decimal places, How do I get the above expression to just return 32 as the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993034#M977914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-25T13:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing Decimal Points in a Text Box to Zero</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993035#M977915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="number format.PNG" class="jive-image image-1" src="/legacyfs/online/96919_number format.PNG" style="height: auto;" /&gt;you can go to the numbers tab, select that expression and then on the right, you can then define the field type, and optionally the number of decimal points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993035#M977915</guid>
      <dc:creator />
      <dc:date>2015-08-25T13:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing Decimal Points in a Text Box to Zero</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993036#M977916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scholar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Num() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is from the help menu in Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;&lt;P class="Bold"&gt;Number format &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1"&gt;&lt;P align="center" class="Bold" style="text-align: center;"&gt; # ##0,# &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;&lt;P align="center" class="Bold" style="text-align: center;"&gt;#,##0.# &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;num&lt;/SPAN&gt;( A, '0.0' )&lt;/SPAN&gt; where A=35648.375 returns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1" style="text-align: right;"&gt;&lt;P class="Bold"&gt;Setting 1 &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1" style="text-align: right;"&gt;&lt;P class="Bold"&gt;Setting 2 &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;&lt;P class="Bold"&gt;String &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1" style="text-align: left;"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35 648 375 &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1" style="text-align: left;"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35648.375 &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;&lt;P class="Bold"&gt;Number &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1" style="text-align: left;"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35648375 &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1" style="text-align: left;"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35648.375 &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;num&lt;/SPAN&gt;( A, '#,##0.##', '.' , ',' )&lt;/SPAN&gt; where A=35648 returns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold" style="margin-right: auto;"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1" style="text-align: right;"&gt;&lt;P class="Bold"&gt;Setting 1 &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1" style="text-align: right;"&gt;&lt;P class="Bold"&gt;Setting 2 &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;&lt;P class="Bold"&gt;String &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35,648.00 &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35,648.00 &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyE-Column1-Body1"&gt;&lt;P class="Bold"&gt;Number &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35648 &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyD-Column2-Body1"&gt;&lt;P align="right" class="Bold" style="text-align: right;"&gt;35648 &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyF-Column2-Body1"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993036#M977916</guid>
      <dc:creator>teiswamsler</dc:creator>
      <dc:date>2015-08-25T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing Decimal Points in a Text Box to Zero</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993037#M977917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;round(sum(TOTAL))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993037#M977917</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-25T13:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing Decimal Points in a Text Box to Zero</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993038#M977918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the Document Properties, Numbers tab, you can set the default format for the TOTAL field as an integer, then all occurrences of TOTAL will be&amp;nbsp; formatted as integers.&lt;/P&gt;&lt;P&gt;You can set defaults for all your number , date &amp;amp; time fields in this list&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993038#M977918</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-08-25T13:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing Decimal Points in a Text Box to Zero</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993039#M977919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Please try:&lt;/P&gt;&lt;P&gt;Select integer in Number tab to truncate decimal places&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993039#M977919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-25T13:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing Decimal Points in a Text Box to Zero</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993040#M977921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is perfect for what I need. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 14:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Decimal-Points-in-a-Text-Box-to-Zero/m-p/993040#M977921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-25T14:43:16Z</dc:date>
    </item>
  </channel>
</rss>

