<?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: Setting decimal point in a script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515554#M1124323</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;No we havent. Can you advise how that would be written in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Dec 2013 15:09:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-20T15:09:34Z</dc:date>
    <item>
      <title>Setting decimal point in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515552#M1124321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We currently have the following script on the popup up label on our map. Showing correct data however, it isnt restricting the decimal points. So for example is showing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0.89463795&lt;/P&gt;&lt;P&gt;1 Bloggs Avenue&lt;/P&gt;&lt;P&gt;1.57683045&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you advise how in the script you can get it to fix to 2 decimals points. Here is current script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Address]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)3]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)4]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)5]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)6]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)7] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 14:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515552#M1124321</guid>
      <dc:creator />
      <dc:date>2013-12-20T14:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting decimal point in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515553#M1124322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried the num() function, like&lt;/P&gt;&lt;P&gt;num(Value, '#.00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 14:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515553#M1124322</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-12-20T14:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Setting decimal point in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515554#M1124323</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;No we havent. Can you advise how that would be written in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 15:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515554#M1124323</guid>
      <dc:creator />
      <dc:date>2013-12-20T15:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting decimal point in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515555#M1124324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;num([Distance (miles)],'#.00')&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Address]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)2],'#.00')&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)3],'#.00')&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)4],'#.00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)5],'#.00')&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)6],'#.00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;br /&amp;gt;'&amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Distance (miles)7],'#.00') &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 15:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515555#M1124324</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-12-20T15:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting decimal point in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515556#M1124325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Hi Chris,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica, sans-serif; font-size: 10pt;"&gt;Hope, you can &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica, sans-serif;"&gt;effort&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica, sans-serif; font-size: 10pt;"&gt; this &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Use Num (number, format),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;For Ex,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;&lt;STRONG&gt;Num (Entity,’&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;STRONG&gt;###########,##’) .&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Raja.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 16:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515556#M1124325</guid>
      <dc:creator />
      <dc:date>2013-12-20T16:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Setting decimal point in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515557#M1124326</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;Thanks very much for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lst question (and applies to all pop up boxes on maps) how do you put additonal text in them? So currently the pop up is as follows:&lt;/P&gt;&lt;P&gt;0.89&lt;/P&gt;&lt;P&gt;1 Bloggs Avenue&lt;/P&gt;&lt;P&gt;1.57&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Love if we could get it to show as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location 1: 0.89 miles&lt;/P&gt;&lt;P&gt;1 Bloggs Avenue&lt;/P&gt;&lt;P&gt;Location 2: 1.57 miles&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 16:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515557#M1124326</guid>
      <dc:creator />
      <dc:date>2013-12-20T16:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting decimal point in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515558#M1124327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;'Location 1: ' &amp;amp; num([Distance (miles)],'#.00') &amp;amp;' miles'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &amp;amp;'&amp;lt;br /&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Address]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; '&amp;lt;br /&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;' &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Location 2: ' &amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Distance (miles)2],'#.00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; ' miles' &amp;amp; '&amp;lt;br /&amp;gt;' &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Location 3: ' &amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Distance (miles)3],'#.00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; ' miles' &amp;amp; '&amp;lt;br /&amp;gt;' &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Location 4: ' &amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Distance (miles)4],'#.00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; ' miles' &amp;amp; '&amp;lt;br /&amp;gt;' &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Location 5: ' &amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Distance (miles)5],'#.00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; ' miles' &amp;amp; '&amp;lt;br /&amp;gt;' &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Location 6: ' &amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Distance (miles)6],'#.00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; ' miles' &amp;amp; '&amp;lt;br /&amp;gt;' &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Location 7: ' &amp;amp; num(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Distance (miles)7],'#.00') &amp;amp; ' miles' &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 17:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-decimal-point-in-a-script/m-p/515558#M1124327</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-12-20T17:48:53Z</dc:date>
    </item>
  </channel>
</rss>

