<?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 tmap. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300702#M72906</link>
    <description>Thanks for reply laurent.</description>
    <pubDate>Mon, 14 Apr 2014 16:55:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-14T16:55:09Z</dc:date>
    <item>
      <title>How to convert string to integer in tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300699#M72903</link>
      <description>I have input field row1.COMMON_PAR_VALUE in string format, but output field having type BigDecimal. 
&lt;BR /&gt;I want to convert this string datatype to respective output datatype. 
&lt;BR /&gt;I would try with following: 
&lt;BR /&gt;Integer.parseInt(row1.COMMON_PAR_VALUE) 
&lt;BR /&gt;and 
&lt;BR /&gt;Float.parseFloat(row1.COMMON_PAR_VALUE) 
&lt;BR /&gt;But above two expression gives error: 
&lt;BR /&gt;Exception in component tRowGenerator_1 
&lt;BR /&gt; 
&lt;BR /&gt;Please help.</description>
      <pubDate>Mon, 14 Apr 2014 07:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300699#M72903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T07:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert string to integer in tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300700#M72904</link>
      <description>Hi, 
&lt;BR /&gt;Did you want to convert "String" to " BigDecimal" or "Integer"? If later, the Integer.parseInt(row1.COMMON_PAR_VALUE) should be och. If former, you should use 
&lt;PRE&gt;java.math.BigDecimal(row1.COMMON_PAR_VALUE)&lt;/PRE&gt; 
&lt;BR /&gt;. 
&lt;BR /&gt;Could you please upload your tMap setting screenshot into forum so that we can address your issue quickly. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 14 Apr 2014 07:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300700#M72904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T07:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert string to integer in tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300701#M72905</link>
      <description>hi all,&lt;BR /&gt;I suggest to use the tConvertType component for this.&lt;BR /&gt;&lt;A href="https://help.talend.com/search/all?query=tConvertType&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tConvertType&amp;amp;content-lang=en&lt;/A&gt;&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 14 Apr 2014 09:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300701#M72905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T09:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert string to integer in tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300702#M72906</link>
      <description>Thanks for reply laurent.</description>
      <pubDate>Mon, 14 Apr 2014 16:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-convert-string-to-integer-in-tmap/m-p/2300702#M72906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T16:55:09Z</dc:date>
    </item>
  </channel>
</rss>

