<?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 int to bigdecimal in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/int-to-bigdecimal/m-p/2366624#M130088</link>
    <description>hello, 
&lt;BR /&gt;i have a process where i need to map int to bigdecimal column. 
&lt;BR /&gt;i have this function Numeric.sequence("TRAB_SEQUENCE",context.last_id,1) in expression builder and type bigdecimal 
&lt;BR /&gt;but i have this error 
&lt;BR /&gt;"type mismatch: cannot convert from integer to bigdecimal" 
&lt;BR /&gt;when changed the type to "int" i had the same error because the output column is Bigdecimal. 
&lt;BR /&gt;how can i fixed that? 
&lt;BR /&gt;thanks in advance 
&lt;BR /&gt;RT</description>
    <pubDate>Tue, 11 Jun 2013 17:22:10 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2013-06-11T17:22:10Z</dc:date>
    <item>
      <title>int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/int-to-bigdecimal/m-p/2366624#M130088</link>
      <description>hello, 
&lt;BR /&gt;i have a process where i need to map int to bigdecimal column. 
&lt;BR /&gt;i have this function Numeric.sequence("TRAB_SEQUENCE",context.last_id,1) in expression builder and type bigdecimal 
&lt;BR /&gt;but i have this error 
&lt;BR /&gt;"type mismatch: cannot convert from integer to bigdecimal" 
&lt;BR /&gt;when changed the type to "int" i had the same error because the output column is Bigdecimal. 
&lt;BR /&gt;how can i fixed that? 
&lt;BR /&gt;thanks in advance 
&lt;BR /&gt;RT</description>
      <pubDate>Tue, 11 Jun 2013 17:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/int-to-bigdecimal/m-p/2366624#M130088</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-06-11T17:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/int-to-bigdecimal/m-p/2366625#M130089</link>
      <description>You have to create a BigDecimal value from the value returned by Numeric.sequence, which is an int.&lt;BR /&gt;I think this will work: &lt;BR /&gt;new BigDecimal(Numeric.sequence("TRAB_SEQUENCE",context.last_id,1))&lt;BR /&gt;new creates a variable of type BigDecimal, and it is set to the value returned from your call to sequence.</description>
      <pubDate>Tue, 11 Jun 2013 17:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/int-to-bigdecimal/m-p/2366625#M130089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-11T17:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: int to bigdecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/int-to-bigdecimal/m-p/2366626#M130090</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;You have to create a BigDecimal value from the value returned by Numeric.sequence, which is an int.&lt;BR /&gt;I think this will work: &lt;BR /&gt;new BigDecimal(Numeric.sequence("TRAB_SEQUENCE",context.last_id,1))&lt;BR /&gt;new creates a variable of type BigDecimal, and it is set to the value returned from your call to sequence.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;you are the Best. thanks a lot&lt;BR /&gt;RT</description>
      <pubDate>Tue, 11 Jun 2013 18:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/int-to-bigdecimal/m-p/2366626#M130090</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-06-11T18:37:33Z</dc:date>
    </item>
  </channel>
</rss>

