<?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: Number format, num# function and decimal separator problem. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643340#M594598</link>
    <description>&lt;P&gt;Because when you use num function, Qlik use informations that you have inside those variables. Even if you use Num# inside the script.&lt;/P&gt;&lt;P&gt;You have to use Num# exactly before Num, anyway I think it will not work&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 16:58:51 GMT</pubDate>
    <dc:creator>StarinieriG</dc:creator>
    <dc:date>2019-11-05T16:58:51Z</dc:date>
    <item>
      <title>Number format, num# function and decimal separator problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643333#M594595</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I'm finally posting this thread because I could not find a clean solution for this issue with the number formatting .&lt;/P&gt;&lt;P&gt;Below there is an example and as you can see, the decimal part is treated as integer.&lt;/P&gt;&lt;P&gt;Of course, it is achievable with workarounds like replace() or by changing the settings. However I would like to know what I'm overseeing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;BR /&gt;SET DecimalSep=',';&lt;BR /&gt;SET MoneyThousandSep='.';&lt;BR /&gt;SET MoneyDecimalSep=',';&lt;/P&gt;&lt;P&gt;Load*,&lt;BR /&gt;num#(Number,'###0.##;###0.00-','.') as function&lt;BR /&gt;;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Row, Number&lt;BR /&gt;1, 128.90&lt;BR /&gt;2, 326.61&lt;BR /&gt;3, 703.89&lt;BR /&gt;4, 1144.63&lt;BR /&gt;5, 4608.53&lt;BR /&gt;6, 4828.99&lt;BR /&gt;7, 5854.20&lt;BR /&gt;8, 5881.26&lt;BR /&gt;9, 111043.16-&lt;BR /&gt;10, 2413.76-&lt;BR /&gt;11, 1089.24-&lt;BR /&gt;12, 572.60-&lt;BR /&gt;13, 552.79-&lt;BR /&gt;14, 160.20-&lt;BR /&gt;15, 3.52-&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Number formatting issue.PNG" style="width: 392px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22942i14E38F293C4CC3ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Number formatting issue.PNG" alt="Number formatting issue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643333#M594595</guid>
      <dc:creator>Igna</dc:creator>
      <dc:date>2024-11-16T02:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Number format, num# function and decimal separator problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643336#M594596</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;try to use these variables&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SET ThousandSep=',';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SET DecimalSep='.';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SET MoneyThousandSep=',';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SET MoneyDecimalSep='.';&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 16:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643336#M594596</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-11-05T16:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Number format, num# function and decimal separator problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643338#M594597</link>
      <description>&lt;P&gt;Thanks for your fast answer. Yes, as mentioned above, it works.&lt;BR /&gt;Nevertheless I would like to understand why that other approach does not work.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 16:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643338#M594597</guid>
      <dc:creator>Igna</dc:creator>
      <dc:date>2019-11-05T16:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Number format, num# function and decimal separator problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643340#M594598</link>
      <description>&lt;P&gt;Because when you use num function, Qlik use informations that you have inside those variables. Even if you use Num# inside the script.&lt;/P&gt;&lt;P&gt;You have to use Num# exactly before Num, anyway I think it will not work&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 16:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643340#M594598</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-11-05T16:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Number format, num# function and decimal separator problem.</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643347#M594599</link>
      <description>&lt;P&gt;In order to provide a counterexample I found the/a "solution", however I do not like it either; it looks like Qlikview is waiting for a separator, even if you do not have any, it is a little bit misleading then:&lt;/P&gt;&lt;P&gt;num#(Number,'###0.##;###0.##-','.'&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;,','&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;) as function&lt;/P&gt;&lt;P&gt;(it also works, for example, with ' ')&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 17:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-num-function-and-decimal-separator-problem/m-p/1643347#M594599</guid>
      <dc:creator>Igna</dc:creator>
      <dc:date>2019-11-05T17:12:13Z</dc:date>
    </item>
  </channel>
</rss>

