<?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>article Notation E interpreted as numerical with script variable ExponentNumberNotation=0 in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Notation-E-interpreted-as-numerical-with-script-variable/ta-p/1712101</link>
    <description>&lt;P&gt;Data with alphanumerical values are loaded into QlikView and Qlik Sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Business" id="qlikSenseBusiness"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The script variable&amp;nbsp;ExponentNumberNotation is set to 0, to disable interpretation of &amp;nbsp;E and D as exponential values.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The same variable is applicable for Qlik Sense too.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;SET ThousandSep=' ';
SET DecimalSep=',';

SET ExponentNumberNotation = 0;

LOAD * INLINE [
AlphaNumerical
1E1
2D2
3e3
4d4
];&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The script above is expected to load the values as text, meaning that the numerical interpretation is Null.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Values loaded as text table representations.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58993iDF1CC41AF9CFA202/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Values loaded as text table representations.png" alt="Values loaded as text table representations.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Instead, the loaded data still has numerical values for the notation E values.&lt;BR /&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Values loaded numerical values table representations.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58994i082FF3CA832E88ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Values loaded numerical values table representations.png" alt="Values loaded numerical values table representations.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;The reason for the observed issue is a product design limitation, which limits the usage of the script variable&amp;nbsp;ExponentNumberNotation.&lt;BR /&gt;&lt;BR /&gt;If ExponentNumberNotation=0 the decimal separator and thousands separators must be either dot or comma, in order to disable both D and E notation for exponential values.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resolution:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;There are two different ways to resolve the issue.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change decimal and thousand separators so that they comply with the limitation&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;SET ThousandSep=',';
SET DecimalSep='.';​&lt;/LI-CODE&gt;OR&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;SET ThousandSep='.';
SET DecimalSep=',';​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Format the loaded value as text during load&lt;BR /&gt;&lt;LI-CODE lang="cpp"&gt;LOAD
   Text(AlphaNumercial) AS AlphaNumerical
Inline [
AlphaNumercial
1E1
2D2
3e3
4d4
];​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Tue, 10 May 2022 19:25:39 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2022-05-10T19:25:39Z</dc:date>
    <item>
      <title>Notation E interpreted as numerical with script variable ExponentNumberNotation=0</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Notation-E-interpreted-as-numerical-with-script-variable/ta-p/1712101</link>
      <description>&lt;P&gt;Data with alphanumerical values are loaded into QlikView and Qlik Sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="Qlik Sense Business" id="qlikSenseBusiness"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The script variable&amp;nbsp;ExponentNumberNotation is set to 0, to disable interpretation of &amp;nbsp;E and D as exponential values.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The same variable is applicable for Qlik Sense too.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;SET ThousandSep=' ';
SET DecimalSep=',';

SET ExponentNumberNotation = 0;

LOAD * INLINE [
AlphaNumerical
1E1
2D2
3e3
4d4
];&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The script above is expected to load the values as text, meaning that the numerical interpretation is Null.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Values loaded as text table representations.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58993iDF1CC41AF9CFA202/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Values loaded as text table representations.png" alt="Values loaded as text table representations.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Instead, the loaded data still has numerical values for the notation E values.&lt;BR /&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Values loaded numerical values table representations.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58994i082FF3CA832E88ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Values loaded numerical values table representations.png" alt="Values loaded numerical values table representations.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;The reason for the observed issue is a product design limitation, which limits the usage of the script variable&amp;nbsp;ExponentNumberNotation.&lt;BR /&gt;&lt;BR /&gt;If ExponentNumberNotation=0 the decimal separator and thousands separators must be either dot or comma, in order to disable both D and E notation for exponential values.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resolution:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;There are two different ways to resolve the issue.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change decimal and thousand separators so that they comply with the limitation&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;SET ThousandSep=',';
SET DecimalSep='.';​&lt;/LI-CODE&gt;OR&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;SET ThousandSep='.';
SET DecimalSep=',';​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Format the loaded value as text during load&lt;BR /&gt;&lt;LI-CODE lang="cpp"&gt;LOAD
   Text(AlphaNumercial) AS AlphaNumerical
Inline [
AlphaNumercial
1E1
2D2
3e3
4d4
];​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 10 May 2022 19:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Notation-E-interpreted-as-numerical-with-script-variable/ta-p/1712101</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2022-05-10T19:25:39Z</dc:date>
    </item>
  </channel>
</rss>

