<?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: add negative sign in the data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304580#M76338</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;I tried this and it's working fine.&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 05:15:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-08T05:15:36Z</dc:date>
    <item>
      <title>add negative sign in the data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304578#M76336</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I have a bunch of data in the excel sheet and from talend I read those data and insert into the table. But when the amount is &lt;STRONG&gt;negative&amp;nbsp;&lt;/STRONG&gt;it still inserted as a positive number and that's why I am getting the wrong total of amount.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Example :: value = (100) is equivalent to -100.&lt;BR /&gt;Negative value comes in ().&lt;BR /&gt;I tried this but it's not working.&lt;/P&gt; 
&lt;PRE&gt;StringHandling.RIGHT(row27.line, 1).equals("(") ? 
"-" + StringHandling.EREPLACE(row27.line, "(", "") : row27.line &lt;/PRE&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG" target="_blank"&gt;@TRF&lt;/A&gt;&amp;nbsp;Can you please help me out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 09:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304578#M76336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-07T09:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: add negative sign in the data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304579#M76337</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;PRE&gt;row27.line.contains("(") ? "-" + row27.line.substring(1, row27.line.length()-1) : row27.line&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Mar 2018 09:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304579#M76337</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-03-07T09:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: add negative sign in the data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304580#M76338</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;I tried this and it's working fine.&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 05:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304580#M76338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-08T05:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: add negative sign in the data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304581#M76339</link>
      <description>&lt;P&gt;You're welcome&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 07:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/add-negative-sign-in-the-data/m-p/2304581#M76339</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-03-08T07:27:47Z</dc:date>
    </item>
  </channel>
</rss>

