<?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: isNum in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207590#M7167</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQe1AAG"&gt;@DrGenious&lt;/A&gt;&amp;nbsp;, you need to use something&amp;nbsp;like below code.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;DIV class="line number1 index0 alt2"&gt;
  public static boolean isNumeric(String strNum) { 
&lt;/DIV&gt; 
&lt;DIV class="line number2 index1 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (strNum == null) { 
&lt;/DIV&gt; 
&lt;DIV class="line number3 index2 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false; 
&lt;/DIV&gt; 
&lt;DIV class="line number4 index3 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} 
&lt;/DIV&gt; 
&lt;DIV class="line number5 index4 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try { 
&lt;/DIV&gt; 
&lt;DIV class="line number6 index5 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;double d = Double.parseDouble(strNum); 
&lt;/DIV&gt; 
&lt;DIV class="line number7 index6 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} catch (NumberFormatException nfe) { 
&lt;/DIV&gt; 
&lt;DIV class="line number8 index7 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false; 
&lt;/DIV&gt; 
&lt;DIV class="line number9 index8 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} 
&lt;/DIV&gt; 
&lt;DIV class="line number10 index9 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return true; 
&lt;/DIV&gt; 
&lt;DIV class="line number11 index10 alt2"&gt;
  } 
&lt;/DIV&gt;</description>
    <pubDate>Wed, 19 Feb 2020 12:32:05 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-02-19T12:32:05Z</dc:date>
    <item>
      <title>isNum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207589#M7166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to parse a file and I wrote in tjavarow component this line( boolean numeric = isNumeric(input_row.Cell_Name); ) but it idoesnt run.&lt;/P&gt;
&lt;P&gt;How can I convert this expression into order to see if it is numeric and store it into a variable?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 11:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207589#M7166</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-02-19T11:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: isNum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207590#M7167</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQe1AAG"&gt;@DrGenious&lt;/A&gt;&amp;nbsp;, you need to use something&amp;nbsp;like below code.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;DIV class="line number1 index0 alt2"&gt;
  public static boolean isNumeric(String strNum) { 
&lt;/DIV&gt; 
&lt;DIV class="line number2 index1 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (strNum == null) { 
&lt;/DIV&gt; 
&lt;DIV class="line number3 index2 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false; 
&lt;/DIV&gt; 
&lt;DIV class="line number4 index3 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} 
&lt;/DIV&gt; 
&lt;DIV class="line number5 index4 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try { 
&lt;/DIV&gt; 
&lt;DIV class="line number6 index5 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;double d = Double.parseDouble(strNum); 
&lt;/DIV&gt; 
&lt;DIV class="line number7 index6 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} catch (NumberFormatException nfe) { 
&lt;/DIV&gt; 
&lt;DIV class="line number8 index7 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false; 
&lt;/DIV&gt; 
&lt;DIV class="line number9 index8 alt2"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} 
&lt;/DIV&gt; 
&lt;DIV class="line number10 index9 alt1"&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return true; 
&lt;/DIV&gt; 
&lt;DIV class="line number11 index10 alt2"&gt;
  } 
&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Feb 2020 12:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207590#M7167</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-02-19T12:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: isNum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207591#M7168</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp; Is not any simplier way? I dont want to declare it as a double , I want only to take the boolean result.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 05:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207591#M7168</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-02-20T05:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: isNum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207592#M7169</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQe1AAG"&gt;@DrGenious&lt;/A&gt;&amp;nbsp;, you need to write specified java otherwise not sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 09:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207592#M7169</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-02-20T09:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: isNum</title>
      <link>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207593#M7170</link>
      <description>&lt;P&gt;Talend has a routine Mathematical.NUM(input) that returns 1 if it's a numeric data type and 0 if not. Would that work?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 19:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/isNum/m-p/2207593#M7170</guid>
      <dc:creator>cmendels</dc:creator>
      <dc:date>2020-02-20T19:35:36Z</dc:date>
    </item>
  </channel>
</rss>

