<?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 Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal/m-p/2369015#M132207</link>
    <description>Hi,
&lt;BR /&gt;I have a problem writing an expression in tMap. I want to convert a field which is a String to a field which is BigDecimal. &amp;nbsp;I also need to check the content of String field - if it has "szt" then I need to send 1 and if not then I need to send the value of the field (converted to BigDecimal).
&lt;BR /&gt;Thanks for all the suggestions because I'm stuck &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
    <pubDate>Thu, 16 Jun 2016 11:32:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-16T11:32:02Z</dc:date>
    <item>
      <title>Convert String to BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal/m-p/2369015#M132207</link>
      <description>Hi,
&lt;BR /&gt;I have a problem writing an expression in tMap. I want to convert a field which is a String to a field which is BigDecimal. &amp;nbsp;I also need to check the content of String field - if it has "szt" then I need to send 1 and if not then I need to send the value of the field (converted to BigDecimal).
&lt;BR /&gt;Thanks for all the suggestions because I'm stuck &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Thu, 16 Jun 2016 11:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal/m-p/2369015#M132207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T11:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal/m-p/2369016#M132208</link>
      <description>str == null ? null : (str.contains("szt") ?&amp;nbsp;new BigDecimal(1) :&amp;nbsp;new BigDecimal(str))&lt;BR /&gt;Lin LIN&lt;BR /&gt;Consultant BI/Talend&lt;BR /&gt;Synaltic Group</description>
      <pubDate>Thu, 16 Jun 2016 14:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-String-to-BigDecimal/m-p/2369016#M132208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T14:40:06Z</dc:date>
    </item>
  </channel>
</rss>

