<?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: [resolved] Substraction between 2 Big Decimal values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196234#M484</link>
    <description>Hi Kalyan,&lt;BR /&gt;Would be interested in as to what all approaches did you try with?&lt;BR /&gt;&amp;amp; was it the 'subtracting' part or the 'converting' part that really posed the challenge?&lt;BR /&gt;MathurM</description>
    <pubDate>Mon, 15 Dec 2014 12:31:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-15T12:31:34Z</dc:date>
    <item>
      <title>[resolved] Substraction between 2 Big Decimal values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196233#M483</link>
      <description>Hi All&lt;BR /&gt;I am struggling with a Mathematical operation in tMap. I have a need to subtract 2 Big Decimal values and convert the output to string.&lt;BR /&gt;Can someone please help me on how to achieve this?&lt;BR /&gt;Thanks&lt;BR /&gt;Kalyan</description>
      <pubDate>Mon, 15 Dec 2014 11:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196233#M483</guid>
      <dc:creator>satyavar</dc:creator>
      <dc:date>2014-12-15T11:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Substraction between 2 Big Decimal values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196234#M484</link>
      <description>Hi Kalyan,&lt;BR /&gt;Would be interested in as to what all approaches did you try with?&lt;BR /&gt;&amp;amp; was it the 'subtracting' part or the 'converting' part that really posed the challenge?&lt;BR /&gt;MathurM</description>
      <pubDate>Mon, 15 Dec 2014 12:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196234#M484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-15T12:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Substraction between 2 Big Decimal values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196235#M485</link>
      <description>Hi Mathur, I tried the following and i get the error as below:&lt;BR /&gt;(row3.ATTRIB_24 -(row3.ATTRIB_24.multiply(row3.ATTRIB_14).divide(BigDecimal.valueOf(100.00)))) &lt;BR /&gt;The operator - is undefined for the argument type(s) java.math.BigDecimal, java.math.BigDecimal</description>
      <pubDate>Mon, 15 Dec 2014 13:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196235#M485</guid>
      <dc:creator>satyavar</dc:creator>
      <dc:date>2014-12-15T13:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Substraction between 2 Big Decimal values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196236#M486</link>
      <description>try this...&amp;nbsp; and note that the below is based on your wanting to subtract one big decimal value from another.&amp;nbsp; For the sake of making your coding cleaner you can break your equation (in tMap) into a couple of steps to assign values to be used by the above listed statement.&lt;BR /&gt;1) digDecimalValue will be the result of ...&amp;nbsp; row3.ATTRIB_24.multiply(row3.ATTRIB_14).divide(BigDecimal.valueOf(100.00))&lt;BR /&gt;2) String bigDecimalString = row3.ATTRIB_24.subtract(bigDecimalValue).toString();&lt;BR /&gt;Hopefully the above is what you are looking for. &lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Mon, 15 Dec 2014 14:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Substraction-between-2-Big-Decimal-values/m-p/2196236#M486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-15T14:57:10Z</dc:date>
    </item>
  </channel>
</rss>

