<?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 Convert String to BigDecimal in tMapJoin in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272586#M49821</link>
    <description>&lt;P&gt;Hi, in my tMap I'm joining two tables, but I've discovered that the join fields are one a String and one a BigDecimal. The output must be a String. I used the method "toString()" on the BigDecimal field, but it keeps telling me that it cannot convert from String to BigDecimal, which I don't understand since I'm doing the opposite operation.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Sep 2018 12:25:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-10T12:25:10Z</dc:date>
    <item>
      <title>Convert String to BigDecimal in tMapJoin</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272586#M49821</link>
      <description>&lt;P&gt;Hi, in my tMap I'm joining two tables, but I've discovered that the join fields are one a String and one a BigDecimal. The output must be a String. I used the method "toString()" on the BigDecimal field, but it keeps telling me that it cannot convert from String to BigDecimal, which I don't understand since I'm doing the opposite operation.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 12:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272586#M49821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-10T12:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to BigDecimal in tMapJoin</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272587#M49822</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LObKAAW"&gt;@Mary&lt;/A&gt;,can you provide sample date which are you going to&amp;nbsp;&lt;SPAN&gt;String to BigDecimal? I believe&amp;nbsp;there could be data issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 12:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272587#M49822</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-09-10T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to BigDecimal in tMapJoin</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272588#M49823</link>
      <description>&lt;P&gt;Try something like this -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;String.valueOf((row1.bigDecimalField).doubleValue())&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Sep 2018 12:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272588#M49823</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-09-10T12:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to BigDecimal in tMapJoin</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272589#M49824</link>
      <description>&lt;P&gt;could you provide a tMap screenshot please?&lt;/P&gt;&lt;P&gt;- And why to String???&amp;nbsp;&lt;BR /&gt;- And if your output is towards a table and its "Create if not exists" setting , when you altered your tMap there's still a problem your table still is BigDecimal ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However.... an important sidenote :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BigDecimal bgd = new BigDecimal(8.0001)
System.out.println(bgd.toString());
// the output could be : 8.0000999999999998765981265985983427124042342&lt;/PRE&gt;&lt;P&gt;It will get the closest value So your join goes wrong, instead of the above code, this should be used:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BigDecimal bgd = new BigDecimal.valueOf(8.0001)&lt;/PRE&gt;&lt;P&gt;I hope Talend conversion works in this way...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 12:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272589#M49824</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-09-10T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to BigDecimal in tMapJoin</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272590#M49825</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LObKAAW"&gt;@Mary&lt;/A&gt;,still you have issue,please check the below link.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kUPcCAM#M81285" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/String-to-BigDecimal-conversion-issue/m-p/130106#M81285&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 09:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal-in-tMapJoin/m-p/2272590#M49825</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-09-11T09:00:24Z</dc:date>
    </item>
  </channel>
</rss>

