<?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: Unable to Multiply 2 BigDecimal Columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-Multiply-2-BigDecimal-Columns/m-p/2259733#M41106</link>
    <description>&lt;P&gt;The command is fine. If you are testing the the expression using "Test" this will happen because there is no value attached to the columns. If you try this in the expression, it will work as the values are hardcoded and therefore able to be tested...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;(new BigDecimal(3.0)).multiply((new BigDecimal(2.0)))&lt;/PRE&gt; 
&lt;P&gt;Don't worry about this so much. Just run the job if you want to test it with some actual data.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 23:51:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-30T23:51:17Z</dc:date>
    <item>
      <title>Unable to Multiply 2 BigDecimal Columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-Multiply-2-BigDecimal-Columns/m-p/2259732#M41105</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to multiply 2 Big Decimal Variables using the following command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row6.Quantity.multiply(row6.LineAmount)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it is giving the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both Quantity and LineAmount are BigDecimal types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-Multiply-2-BigDecimal-Columns/m-p/2259732#M41105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Multiply 2 BigDecimal Columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-Multiply-2-BigDecimal-Columns/m-p/2259733#M41106</link>
      <description>&lt;P&gt;The command is fine. If you are testing the the expression using "Test" this will happen because there is no value attached to the columns. If you try this in the expression, it will work as the values are hardcoded and therefore able to be tested...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;(new BigDecimal(3.0)).multiply((new BigDecimal(2.0)))&lt;/PRE&gt; 
&lt;P&gt;Don't worry about this so much. Just run the job if you want to test it with some actual data.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 23:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-Multiply-2-BigDecimal-Columns/m-p/2259733#M41106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-30T23:51:17Z</dc:date>
    </item>
  </channel>
</rss>

