<?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 Float.parseFloat, Type mismatch: cannot convert from String to Float in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Float-parseFloat-Type-mismatch-cannot-convert-from-String-to/m-p/2201268#M3422</link>
    <description>Dear all, 
&lt;BR /&gt;I try to cast from string to float. 
&lt;BR /&gt;I use java code in a tJavaFlex component :&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;row2.coord = Float.parseFloat(row1.coord);&lt;/PRE&gt; 
&lt;BR /&gt;Of course, I select the right type for input (string) and output(float) 
&lt;BR /&gt;But i have an error :&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;Type mismatch: cannot convert from String to Float&lt;/PRE&gt; 
&lt;BR /&gt;Thank you in advance for your idea! 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131527i309636A1FE3C2EDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLY.png" alt="0683p000009MCLY.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 24 Nov 2016 15:59:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-24T15:59:01Z</dc:date>
    <item>
      <title>Float.parseFloat, Type mismatch: cannot convert from String to Float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-parseFloat-Type-mismatch-cannot-convert-from-String-to/m-p/2201268#M3422</link>
      <description>Dear all, 
&lt;BR /&gt;I try to cast from string to float. 
&lt;BR /&gt;I use java code in a tJavaFlex component :&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;row2.coord = Float.parseFloat(row1.coord);&lt;/PRE&gt; 
&lt;BR /&gt;Of course, I select the right type for input (string) and output(float) 
&lt;BR /&gt;But i have an error :&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;Type mismatch: cannot convert from String to Float&lt;/PRE&gt; 
&lt;BR /&gt;Thank you in advance for your idea! 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131527i309636A1FE3C2EDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLY.png" alt="0683p000009MCLY.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 24 Nov 2016 15:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-parseFloat-Type-mismatch-cannot-convert-from-String-to/m-p/2201268#M3422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-24T15:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Float.parseFloat, Type mismatch: cannot convert from String to Float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-parseFloat-Type-mismatch-cannot-convert-from-String-to/m-p/2201269#M3423</link>
      <description>I suggest to use the tConvertType component instead of diving into custom Java coding. Its use is pretty straightforward and it does what you desire.</description>
      <pubDate>Thu, 24 Nov 2016 17:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-parseFloat-Type-mismatch-cannot-convert-from-String-to/m-p/2201269#M3423</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2016-11-24T17:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Float.parseFloat, Type mismatch: cannot convert from String to Float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-parseFloat-Type-mismatch-cannot-convert-from-String-to/m-p/2201270#M3424</link>
      <description>use&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;Float.valueOf(row1.coord)&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-parseFloat-Type-mismatch-cannot-convert-from-String-to/m-p/2201270#M3424</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-24T22:24:26Z</dc:date>
    </item>
  </channel>
</rss>

