<?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 number surrounded by parenthesis in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/negative-number-surrounded-by-parenthesis/m-p/2338449#M106679</link>
    <description>I think you've taken the correct approach by writing a custom routine to perform the conversion.</description>
    <pubDate>Wed, 24 Jul 2013 08:43:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-24T08:43:45Z</dc:date>
    <item>
      <title>negative number surrounded by parenthesis</title>
      <link>https://community.qlik.com/t5/Talend-Studio/negative-number-surrounded-by-parenthesis/m-p/2338448#M106678</link>
      <description>Hi All,
&lt;BR /&gt;I would like to know if there's a way for talend by default import as negative number what comes surrounded in parenthesis?
&lt;BR /&gt;For instance, a file containing a columns as statement with some positive and negatives numbers (round brackets)
&lt;BR /&gt;ie
&lt;BR /&gt;Statement
&lt;BR /&gt;(404)
&lt;BR /&gt;(500)
&lt;BR /&gt;(1200)
&lt;BR /&gt;3200
&lt;BR /&gt;If use this file to get the schema, this column will be recognized as STRING not as INTEGER/DOUBLE/FLOAT and if it's needed to make calculations, like sum, avg, etc Talend raise errors (NumberFormatException), due all values surrounded by parenthesis not be converted by negative numbers (ie. (404) = -404).
&lt;BR /&gt;I did a trick into my job, creating a routine to convert round brackets negative numbers to numbers with minus sign, but would I to know if there is a way for Talend to do that by default?
&lt;BR /&gt;
&lt;BR /&gt;Thnanks in Advanced,
&lt;BR /&gt;
&lt;BR /&gt;Rodrigo A. Gomes</description>
      <pubDate>Wed, 24 Jul 2013 02:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/negative-number-surrounded-by-parenthesis/m-p/2338448#M106678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-24T02:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: negative number surrounded by parenthesis</title>
      <link>https://community.qlik.com/t5/Talend-Studio/negative-number-surrounded-by-parenthesis/m-p/2338449#M106679</link>
      <description>I think you've taken the correct approach by writing a custom routine to perform the conversion.</description>
      <pubDate>Wed, 24 Jul 2013 08:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/negative-number-surrounded-by-parenthesis/m-p/2338449#M106679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-24T08:43:45Z</dc:date>
    </item>
  </channel>
</rss>

