<?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: Re: Removing useless zero in number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511205#M190981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I think so! I didn't have this kind of problem at previous versions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 10:02:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-21T10:02:11Z</dc:date>
    <item>
      <title>Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511203#M190979</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 have a problem in qv server 11! I have a lot of number(both of real and float) in a qv document. but when I reload, I see a lot of zero after the real number! for example I have a field that contains 800,801,802,............. after ending reloading process, the listbox of that display:&lt;/P&gt;&lt;P&gt;800.000000000000000000000000000000000000000000000000000000000000000000000000000&lt;/P&gt;&lt;P&gt;801.000000000000000000000000000000000000000000000000000000000000000000000000000&lt;/P&gt;&lt;P&gt;802.000000000000000000000000000000000000000000000000000000000000000000000000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please consider that the number of these kind of fields are not a few and the length of the numbers are different(for example I have 1,800,9241,... in a specified field) and I can't use the function to_char(fieldname,format) for all of them in a similar way! I need a total solution for solving this problem like a set format in one line statement in script that doesn't affect the flaot numbers. I tried changing format in number tab for these fields, but unfortunately after reloading the app, the problem will appear again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reihaneh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 08:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511203#M190979</guid>
      <dc:creator />
      <dc:date>2013-08-21T08:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511204#M190980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;very strange behaviour )&lt;/P&gt;&lt;P&gt;could you provide example of qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, try to use Num() function for formatting in the script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 08:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511204#M190980</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2013-08-21T08:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511205#M190981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I think so! I didn't have this kind of problem at previous versions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 10:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511205#M190981</guid>
      <dc:creator />
      <dc:date>2013-08-21T10:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511206#M190982</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;there was a long thread in the past about this issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/169946"&gt;Re: use 'OLEDB CONNECT 64bit oracle happen 1 change 1.00000000000000000000000000000000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is related to a Oracle number type with unspecified precision and scale you could use a CAST:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT cast(COLUMN1 as number(38)) as COLUMN1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or by using num#( ) function in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 10:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511206#M190982</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-08-21T10:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511207#M190983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this function&lt;/P&gt;&lt;P&gt;left(fieldname,(Index(fieldname,'.')-1) as Fieldname&lt;/P&gt;&lt;P&gt;Try this in your script&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Left(F1,Index(F1,'.')-1)as F1;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 800.0000000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 801.000000000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 10:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511207#M190983</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-08-21T10:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511208#M190984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you a lot. It's so helpful but I will want to know if a solution exists to apply for all fields just in one line statement, like a set format at first of code. Cast function should be applied one by one for numeric fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reihaneh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 10:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511208#M190984</guid>
      <dc:creator />
      <dc:date>2013-08-21T10:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511209#M190985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try simple like this&lt;/P&gt;&lt;P&gt;num(fieldname)&lt;/P&gt;&lt;P&gt;**************************************************&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *, num(x) as num&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;x&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.00000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;11.0230000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5.23000000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 10:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511209#M190985</guid>
      <dc:creator />
      <dc:date>2013-08-21T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511210#M190986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;sales&lt;/P&gt;&lt;P&gt;1.0000&lt;/P&gt;&lt;P&gt;2.0000&lt;/P&gt;&lt;P&gt;3.0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12345.00000000000000000000000000&lt;/P&gt;&lt;P&gt;123456.00000000000000000000000000&lt;/P&gt;&lt;P&gt;2345678555000,000000000000000000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;num( sales ,'#,##0') as sales1&lt;/P&gt;&lt;P&gt;Resident Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 10:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511210#M190986</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2013-08-21T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Removing useless zero in number</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511211#M190987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you get any permanent solution for this problem. Please let me know, I am facing the same kind of issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 13:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-useless-zero-in-number/m-p/511211#M190987</guid>
      <dc:creator />
      <dc:date>2017-07-31T13:54:42Z</dc:date>
    </item>
  </channel>
</rss>

