<?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: How to convert String To integer? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292787#M65826</link>
    <description>hi, 
&lt;BR /&gt;+1 for tConvertType 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;you see graphicaly that you're converting type in your job.&amp;nbsp; 
&lt;BR /&gt;When it's in a blackbox like tmap or hard coding somewhere else it's more difficult to trace what you've done 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
    <pubDate>Tue, 05 Aug 2014 08:41:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-05T08:41:41Z</dc:date>
    <item>
      <title>How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292784#M65823</link>
      <description>hi, 
&lt;BR /&gt;I have attached my job.. in that i ll get all datas from input file as string and store that as a string datatype in the postgres output also. 
&lt;BR /&gt;now i need to convert some of the datas to Integer type.. at which position i need to change the datatype.. and which is the component &amp;nbsp;to be used to do that.... 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156857i1028273629AEE4BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDg.png" alt="0683p000009MEDg.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 05 Aug 2014 06:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292784#M65823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-05T06:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292785#M65824</link>
      <description>You have already used a component for converting data types i.e. tConvertType... besides this component, you can simply use tJavaRow and make use of java functions like Parse to convert string to integer data types&lt;BR /&gt;&lt;PRE&gt;context.variable = Integer.parseInt("1234");&lt;/PRE&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 05 Aug 2014 08:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292785#M65824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-05T08:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292786#M65825</link>
      <description>Hi, 
&lt;BR /&gt;There is a tConvertType component in your job design. How did you set it? Why didn't you use it to convert String to Integer type then loading data into DB?
&lt;BR /&gt;Could you please give us more info about your job situation?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 05 Aug 2014 08:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292786#M65825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-05T08:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292787#M65826</link>
      <description>hi, 
&lt;BR /&gt;+1 for tConvertType 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;you see graphicaly that you're converting type in your job.&amp;nbsp; 
&lt;BR /&gt;When it's in a blackbox like tmap or hard coding somewhere else it's more difficult to trace what you've done 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Tue, 05 Aug 2014 08:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292787#M65826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-05T08:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292788#M65827</link>
      <description>hi all ,&lt;BR /&gt;thanks for your replies.. i have used the tconverttype component for setting NULL to the empty values.. for that only i used tconverttype. eventhough i have checked Autocast option , But i don't know how to use this component to change the data type. please help me&amp;nbsp;</description>
      <pubDate>Tue, 05 Aug 2014 12:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292788#M65827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-05T12:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292789#M65828</link>
      <description>Hi, &lt;BR /&gt;Please see component reference &lt;A href="https://help.talend.com/search/all?query=tConvertType&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tConvertType&lt;/A&gt; with related scenario.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 06 Aug 2014 08:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292789#M65828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-06T08:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292790#M65829</link>
      <description>Hi xdshi,
&lt;BR /&gt;&amp;nbsp;Thanks for your Reply,But the Problem is i am having the data like ($0.00).. so i take this as string type in tfiledelimited schema,
&lt;BR /&gt;then i used the tconverttype,checked the auto cast option. and in the schema of the tconverttype i changed the datatype to Decimal, because i am not having the dollar datatype .. then i passed to the postgres output.. when i run i get zero rows .. and the error is
&lt;BR /&gt;null.
&lt;BR /&gt;please help to sort out this</description>
      <pubDate>Wed, 06 Aug 2014 15:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292790#M65829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-06T15:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert String To integer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292791#M65830</link>
      <description>Hi,
&lt;BR /&gt;If currency data type is considered as string, then you will have to trim first char from the string and then convert it using tconverttype... else results are wrong.. Use stringhandling.Right(stringhandling.Length(yourrow.column)-1)
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 06 Aug 2014 15:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-String-To-integer/m-p/2292791#M65830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-06T15:57:29Z</dc:date>
    </item>
  </channel>
</rss>

