<?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: Convert text to numeric value and keep all decimals? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984253#M335872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;Num(NUM#([Text Result], &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;'#'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;),'#.000') AS [Result]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 11:46:54 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-10-15T11:46:54Z</dc:date>
    <item>
      <title>Convert text to numeric value and keep all decimals?</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984252#M335871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some of the data are numbers, stored in text fields. When converting using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14449036908839155" jivemacro_uid="_14449036908839155" modifiedtitle="true"&gt;
&lt;P&gt;NUM#([Text Result], '#') AS [Result]&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... it can give the following results:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102052_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want the same precision for the numeric value as the original text value, however this is not always what the code delivers. Why is the last two zeroes removed from row 4, but kept in row 2? How do I achieve what I need, what conversions are necessary?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 10:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984252#M335871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-15T10:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Convert text to numeric value and keep all decimals?</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984253#M335872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;Num(NUM#([Text Result], &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;'#'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;),'#.000') AS [Result]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 11:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984253#M335872</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-15T11:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Convert text to numeric value and keep all decimals?</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984254#M335873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still doesn't work:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102091_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Zeroes are sometimes still cut off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 11:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984254#M335873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-15T11:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert text to numeric value and keep all decimals?</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984255#M335874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works for me. See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 16:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-text-to-numeric-value-and-keep-all-decimals/m-p/984255#M335874</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-15T16:12:18Z</dc:date>
    </item>
  </channel>
</rss>

