<?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: Default format for num() changeable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339874#M412912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, I understand what you mean, if I set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I still see a comma for num(3/14)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/160874_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a bit confusing... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Apr 2017 17:00:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-21T17:00:49Z</dc:date>
    <item>
      <title>Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339868#M412906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I asked this question yet in the German forum, discussed with &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ and &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I really like to know where this default format for num() is defined and if it is possible to change it globally?!?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;If I use an expression like&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(3/17) , I get the following output in a textbox:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;IMG __jive_id="160481" alt="" class="jive-image image-1" height="144" src="https://community.qlik.com/legacyfs/online/160481_pastedImage_0.png" width="144" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Meanwhile I (we?) suppose that the default format is: =Num(3/17,'##############')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; text-decoration: underline;"&gt;my (German) settings:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET ThousandSep='.';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET DecimalSep=',';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET MoneyThousandSep='.';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET MoneyDecimalSep=',';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET MoneyFormat='#.##0,00 €;-#.##0,00 €';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET TimeFormat='hh:mm:ss';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET DateFormat='DD.MM.YYYY';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET TimestampFormat='DD.MM.YYYY hh:mm:ss[.fff]';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET MonthNames='Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SET DayNames='Mo;Di;Mi;Do;Fr;Sa;So';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 08:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339868#M412906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-19T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339869#M412907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 15:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339869#M412907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-21T15:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339870#M412908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to hazard a guess, it's using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1 class="document-title" style="font-size: 1.6em; margin: 0 10px 0 0; color: #333333; font-family: sans-serif;"&gt;&lt;SPAN class="ng-binding"&gt;754-2008 - IEEE Standard for Floating-Point Arithmetic&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN class="ng-binding"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="ng-binding"&gt;&lt;A href="http://ieeexplore.ieee.org/document/4610935/" title="http://ieeexplore.ieee.org/document/4610935/"&gt;http://ieeexplore.ieee.org/document/4610935/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: #333333; font-family: sans-serif; font-size: 15px;"&gt;Abstract:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="abstract-text ng-binding" style="color: #333333; font-family: sans-serif; font-size: 15px; margin-bottom: 1em !important;"&gt;This standard specifies interchange and arithmetic formats and methods for binary and decimal floating-point arithmetic in computer programming environments. This standard specifies exception conditions and their default handling. An implementation of a floating-point system conforming to this standard may be realized entirely in software, entirely in hardware, or in any combination of software and hardware. For operations specified in the normative part of this standard, numerical results and exceptions are uniquely determined by the values of the input data, sequence of operations, and destination formats, all under user control.&lt;/P&gt;&lt;P class="abstract-text ng-binding" style="color: #333333; font-family: sans-serif; font-size: 15px; margin-bottom: 1em !important;"&gt;&lt;/P&gt;&lt;P class="abstract-text ng-binding" style="color: #333333; font-family: sans-serif; font-size: 15px; margin-bottom: 1em !important;"&gt;HTH&lt;/P&gt;&lt;P class="abstract-text ng-binding" style="color: #333333; font-family: sans-serif; font-size: 15px; margin-bottom: 1em !important;"&gt;&lt;/P&gt;&lt;P class="abstract-text ng-binding" style="color: #333333; font-family: sans-serif; font-size: 15px; margin-bottom: 1em !important;"&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 15:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339870#M412908</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2017-04-21T15:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339871#M412909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my guess:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your suggestion about a most propable internal number format may be slightly incorrect. The num function will easily switch to scientific notation when the mantissa becomes either too large or too small. IMHO there may not be any default format to speak of, just conversion behavior. Which - being more like a "fits all"-solution - might be a good though unpredictable thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number 14 keeps returning. Num will output all digits as long as there aren't more than 14 (zeroes not included). As soon as you cross that limit, num switches to scientific notation with 14 mantissa digits and 5 digits for the exponent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;=num(30000 / 12345.678912345)&lt;/SPAN&gt; displays &lt;SPAN style="font-family: 'courier new', courier;"&gt;2.4300000196831&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;while&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;=num(3000 / 123456789.12345)&lt;/SPAN&gt; displays &lt;SPAN style="font-family: 'courier new', courier;"&gt;2.4300000196831e-005&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the other end&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;=num(300000 * 123456789.12345)&lt;/SPAN&gt; displays &lt;SPAN style="font-family: 'courier new', courier;"&gt;37037036737035&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;while&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;=num(3000000 * 123456789.12345)&lt;/SPAN&gt; displays &lt;SPAN style="font-family: 'courier new', courier;"&gt;3.7037036737035e+014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh and BTW, it seems that the help is again not very accurate. It says that when omitting parameters 2-4, num will switch to using the Number interpretation variables. But that is not the case...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 16:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339871#M412909</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-04-21T16:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339872#M412910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The number 14 is also a "Galactic QlikView Constant" when playing with &lt;SPAN style="font-family: 'courier new', courier;"&gt;num#()&lt;/SPAN&gt;. You can stuff large numbers with up to 14 digits into num#() for proper conversion. But any number with 15 digits will be treated as text...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 16:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339872#M412910</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-04-21T16:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339873#M412911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you explain your statement please... for me (from Germany) dot and comma are exchanged... as you see in my example&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;
&lt;P&gt;Oh and BTW, it seems that the help is again not very accurate. It says that when omitting parameters 2-4, num will switch to using the Number interpretation variables. But that is not the case...&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 16:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339873#M412911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-21T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339874#M412912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, I understand what you mean, if I set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I still see a comma for num(3/14)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/160874_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a bit confusing... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 17:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339874#M412912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-21T17:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Default format for num() changeable?</title>
      <link>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339875#M412913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(Sorry for the late reply)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are right. QlikView number formatting variables don't seem to have any effect on num() ouput. But the system settings do...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thought: the multi-parameter version of num() seems to fit well in the collection of controlled formatting/interpretation functions. But maybe we should see the one-parameter version of num() not as a formatting function, but more like the logical counterpart of text().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While text() can be said to "give you the string version of any &lt;EM&gt;dual&lt;/EM&gt; value", num() without further specs can be said to "give you just the numerical part of a dual value", and without any formatting fuss whatsoever. Just the number, no other string--related properties... And then it becomes logical that the raw binary value will be presented using system settings only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2017 15:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-format-for-num-changeable/m-p/1339875#M412913</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-04-23T15:25:33Z</dc:date>
    </item>
  </channel>
</rss>

