<?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 Script fails since large numbers are presented with exponentials as e+008 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-fails-since-large-numbers-are-presented-with-exponentials/m-p/377989#M703132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;I have a dilemma with this row in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13450245037507404" jivemacro_uid="_13450245037507404"&gt;&lt;P&gt;Concatenate (TestCycl_tmp) LOAD&lt;/P&gt;&lt;P&gt; $(vMaxTCyId)*100+TC_TESTCYCL_ID as TC_TESTCYCL_ID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is created like this&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1345024550458659" jivemacro_uid="_1345024550458659"&gt;&lt;P&gt;Let vMaxTCyId=peek('TC_TESTCYCL_ID', -1,'maxTable');&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV11 things work as expected and the log file shows&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;Concatenate (TestCycl_tmp) LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;228141244*100+TC_TESTCYCL_ID as TC_TESTCYCL_ID,&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in QV9 it fails and the log looks like&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;Concatenate (TestCycl_tmp) LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2,2814124e+008*100+TC_TESTCYCL_ID as TC_TESTCYCL_ID,&lt;/P&gt;&lt;P&gt;-------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the , (comma) making Qlikview generating a column with just the digit 2.&lt;/P&gt;&lt;P&gt;So how do I force QV9 to present the number with only figures and not exponentials?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brgds&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2012 10:01:28 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2012-08-15T10:01:28Z</dc:date>
    <item>
      <title>Script fails since large numbers are presented with exponentials as e+008</title>
      <link>https://community.qlik.com/t5/QlikView/Script-fails-since-large-numbers-are-presented-with-exponentials/m-p/377989#M703132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;I have a dilemma with this row in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13450245037507404" jivemacro_uid="_13450245037507404"&gt;&lt;P&gt;Concatenate (TestCycl_tmp) LOAD&lt;/P&gt;&lt;P&gt; $(vMaxTCyId)*100+TC_TESTCYCL_ID as TC_TESTCYCL_ID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is created like this&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1345024550458659" jivemacro_uid="_1345024550458659"&gt;&lt;P&gt;Let vMaxTCyId=peek('TC_TESTCYCL_ID', -1,'maxTable');&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV11 things work as expected and the log file shows&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;Concatenate (TestCycl_tmp) LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;228141244*100+TC_TESTCYCL_ID as TC_TESTCYCL_ID,&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in QV9 it fails and the log looks like&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;Concatenate (TestCycl_tmp) LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2,2814124e+008*100+TC_TESTCYCL_ID as TC_TESTCYCL_ID,&lt;/P&gt;&lt;P&gt;-------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the , (comma) making Qlikview generating a column with just the digit 2.&lt;/P&gt;&lt;P&gt;So how do I force QV9 to present the number with only figures and not exponentials?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brgds&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 10:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-fails-since-large-numbers-are-presented-with-exponentials/m-p/377989#M703132</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-08-15T10:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script fails since large numbers are presented with exponentials as e+008</title>
      <link>https://community.qlik.com/t5/QlikView/Script-fails-since-large-numbers-are-presented-with-exponentials/m-p/377990#M703133</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 to make the following change:&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Let vMaxTCyId=num(peek('TC_TESTCYCL_ID', -1,'maxTable'));&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Janusz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 10:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-fails-since-large-numbers-are-presented-with-exponentials/m-p/377990#M703133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-15T10:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script fails since large numbers are presented with exponentials as e+008</title>
      <link>https://community.qlik.com/t5/QlikView/Script-fails-since-large-numbers-are-presented-with-exponentials/m-p/377991#M703134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your fast and correct answer! Now when searching the script I found out that I had used num() on other places but wasn't able to remember after a vacation. Thanks again&lt;/P&gt;&lt;P&gt;/Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 10:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-fails-since-large-numbers-are-presented-with-exponentials/m-p/377991#M703134</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-08-15T10:16:29Z</dc:date>
    </item>
  </channel>
</rss>

