<?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: Negative Signs in String randomly disappears in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198389#M1745</link>
    <description>As part of testing, can you just pass that filed with out using routine, is that native sign is removing or not?</description>
    <pubDate>Fri, 10 Apr 2020 16:31:24 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-04-10T16:31:24Z</dc:date>
    <item>
      <title>Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198388#M1744</link>
      <description>&lt;P&gt;Hi, I am facing an issue here.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;This is my setup :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Talend Setup" style="width: 386px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9Eo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133802i1AA4CAFC07F79B62/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9Eo.png" alt="0683p000009M9Eo.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Talend Setup&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="tmap_in.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9SB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145439i2DEEC0632B436F03/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9SB.png" alt="0683p000009M9SB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;You can notice that I use a routine to put the input that I want (A or B) in column "Echu" and "Non_Echu"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="routine.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9Rd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138935iA52E798B1F9F3335/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9Rd.png" alt="0683p000009M9Rd.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;All Inputs and Outputs are in Strings in the Routine as you can see, and in the tMap as well.&lt;/P&gt; 
&lt;P&gt;Everything works fine. the Function is doing almost what I want, BUT, in the output, some negative values (Strings that begin with "-" like : "-7.9" , "-9.7" etc.) that were in the Input are converted into Positive in the Ouput file. The "-" has disappeared.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Example : String that contained : "-888" in Input , once it comes out of the routine is "888.0".&lt;/P&gt; 
&lt;P&gt;I don't understand why, I've checked the routine but i don't see what is wrong with it.&lt;/P&gt; 
&lt;P&gt;Of course I checked the .csv input file and nothing is wrong with it either.&lt;/P&gt; 
&lt;P&gt;Only the Output comes SOMETIMES with positive values instead of negative.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198388#M1744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198389#M1745</link>
      <description>As part of testing, can you just pass that filed with out using routine, is that native sign is removing or not?</description>
      <pubDate>Fri, 10 Apr 2020 16:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198389#M1745</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-10T16:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198390#M1746</link>
      <description>&lt;P&gt;If I pass that field without using a routine, the issue disappears.&lt;/P&gt;&lt;P&gt;The String that contains -888 in Input is untouched in the Output : -888&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 16:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198390#M1746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-10T16:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198391#M1747</link>
      <description>Then your routine is causing the issue.</description>
      <pubDate>Fri, 10 Apr 2020 16:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198391#M1747</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-10T16:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198392#M1748</link>
      <description>&lt;P&gt;Yes, But I don't know what is causing the issue in the routine. The code that I posted doesn't seem wrong either.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 16:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198392#M1748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-10T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198393#M1749</link>
      <description>Try to use this and let me know is it removing.
&lt;BR /&gt;
&lt;BR /&gt;row1.B!=null &amp;amp;&amp;amp; row1.B.isEmpty()?row1.A:row1.B</description>
      <pubDate>Fri, 10 Apr 2020 17:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198393#M1749</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-10T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198394#M1750</link>
      <description>&lt;P&gt;I have tried your method :&amp;nbsp;row1.B!=null &amp;amp;&amp;amp; row1.B.isEmpty()?row2.A:row1.B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works ! It corrected the issue BUT, It doesn't do what I want.&lt;/P&gt;&lt;P&gt;What I want is :&amp;nbsp;(row1.B!=null &amp;amp;&amp;amp; row1.B.isEmpty())?"": (row2.A!=null &amp;amp;&amp;amp; row2.A.isEmpty())? row1.B:row2.A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the issue comes Back.&lt;/P&gt;&lt;P&gt;The String is converted from "-888" in the input into "888.0" in the Output.&lt;/P&gt;&lt;P&gt;I wonder why ...&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 18:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198394#M1750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-10T18:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Signs in String randomly disappears</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198395#M1751</link>
      <description>&lt;P&gt;I've found the error.&lt;/P&gt;&lt;P&gt;Just silly mistake of Inputs ^^.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway for trying to help !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 18:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Negative-Signs-in-String-randomly-disappears/m-p/2198395#M1751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-10T18:55:55Z</dc:date>
    </item>
  </channel>
</rss>

