<?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 [resolved] Convert with tConvertType null to new BigDecimal(0) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-with-tConvertType-null-to-new-BigDecimal-0/m-p/2217360#M12989</link>
    <description>Hello, 
&lt;BR /&gt;I have an input Db which contains columns only with Varchar and I want to convert this to the right type. Then I want save them in my DB. 
&lt;BR /&gt;But if I use the tConvertType component it cant convert a null Value to a BigDecimal value. 
&lt;BR /&gt;How I can convert null values to new BigDecimal(0)? 
&lt;BR /&gt;thx 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBhI.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142760i81E9BEFA9D6B17AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBhI.jpg" alt="0683p000009MBhI.jpg" /&gt;&lt;/span&gt;</description>
    <pubDate>Fri, 25 Sep 2015 09:19:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-25T09:19:37Z</dc:date>
    <item>
      <title>[resolved] Convert with tConvertType null to new BigDecimal(0)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-with-tConvertType-null-to-new-BigDecimal-0/m-p/2217360#M12989</link>
      <description>Hello, 
&lt;BR /&gt;I have an input Db which contains columns only with Varchar and I want to convert this to the right type. Then I want save them in my DB. 
&lt;BR /&gt;But if I use the tConvertType component it cant convert a null Value to a BigDecimal value. 
&lt;BR /&gt;How I can convert null values to new BigDecimal(0)? 
&lt;BR /&gt;thx 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBhI.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142760i81E9BEFA9D6B17AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBhI.jpg" alt="0683p000009MBhI.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 25 Sep 2015 09:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-with-tConvertType-null-to-new-BigDecimal-0/m-p/2217360#M12989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-25T09:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert with tConvertType null to new BigDecimal(0)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-with-tConvertType-null-to-new-BigDecimal-0/m-p/2217361#M12990</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Try to convert the data type on tMap with this expression: 
&lt;BR /&gt;row3.newColumn==null?new java.math.BigDecimal(0):new java.math.BigDecimal(row3.newColumn) 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 28 Sep 2015 02:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-with-tConvertType-null-to-new-BigDecimal-0/m-p/2217361#M12990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-28T02:21:21Z</dc:date>
    </item>
  </channel>
</rss>

