<?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 &amp;lt; operator throwing error in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/lt-operator-throwing-error-in-tmap/m-p/2243913#M30244</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a scenario where Im using less than (&amp;lt;) operator and getting below error. Can you please help me how to handle this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logic I used in tmap:&lt;/P&gt;&lt;P&gt;row1.newColumn.subtract(row2.newColumn) &amp;lt; new BigDecimal(0) ? new BigDecimal(0) : row1.newColumn.subtract(row2.newColumn)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the error:&lt;/P&gt;&lt;P&gt;The operator &amp;lt; is undefined for the argument type(s) java.math.BigDecimal, java.math.BigDecimal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me how to handle this scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:29:06 GMT</pubDate>
    <dc:creator>DEV4</dc:creator>
    <dc:date>2024-11-16T02:29:06Z</dc:date>
    <item>
      <title>&lt; operator throwing error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/lt-operator-throwing-error-in-tmap/m-p/2243913#M30244</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a scenario where Im using less than (&amp;lt;) operator and getting below error. Can you please help me how to handle this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logic I used in tmap:&lt;/P&gt;&lt;P&gt;row1.newColumn.subtract(row2.newColumn) &amp;lt; new BigDecimal(0) ? new BigDecimal(0) : row1.newColumn.subtract(row2.newColumn)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the error:&lt;/P&gt;&lt;P&gt;The operator &amp;lt; is undefined for the argument type(s) java.math.BigDecimal, java.math.BigDecimal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me how to handle this scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/lt-operator-throwing-error-in-tmap/m-p/2243913#M30244</guid>
      <dc:creator>DEV4</dc:creator>
      <dc:date>2024-11-16T02:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: &lt; operator throwing error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/lt-operator-throwing-error-in-tmap/m-p/2243914#M30245</link>
      <description>You need to use BigDecimal.compareTo() to compare BigDecimal values</description>
      <pubDate>Sat, 09 May 2020 07:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/lt-operator-throwing-error-in-tmap/m-p/2243914#M30245</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-05-09T07:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: &lt; operator throwing error in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/lt-operator-throwing-error-in-tmap/m-p/2243915#M30246</link>
      <description>&lt;P&gt;Thanks TRF. That worked.&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2020 21:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/lt-operator-throwing-error-in-tmap/m-p/2243915#M30246</guid>
      <dc:creator>DEV4</dc:creator>
      <dc:date>2020-05-09T21:02:09Z</dc:date>
    </item>
  </channel>
</rss>

