<?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: How to compare value of BigDecimal with a integer in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315995#M86588</link>
    <description>Hi, 
&lt;BR /&gt;I don't know what you exactly want to do, but you can also write like below... 
&lt;BR /&gt;row1.amount != BigDecimal.valueOf(0) 
&lt;BR /&gt;So, if you use it in expression builder, you probably would like to make a logical comprasion. for that; 
&lt;BR /&gt;row1.amount != BigDecimal.valueOf(0) ? do x : do y</description>
    <pubDate>Sat, 11 Feb 2012 19:58:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-11T19:58:43Z</dc:date>
    <item>
      <title>How to compare value of BigDecimal with a integer in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315992#M86585</link>
      <description>Hello, 
&lt;BR /&gt;Please teach me! 
&lt;BR /&gt;What i wanna do is following. 
&lt;BR /&gt;When creating comparison sentence in Expression Builder 
&lt;BR /&gt;for compare both values. 
&lt;BR /&gt;Then this error has occur and displayed massage like 
&lt;BR /&gt;it is different type of value that Bigdecimal and Integer. 
&lt;BR /&gt;comparison sentence i wrote is following. 
&lt;BR /&gt; /row1.amount != 0 
&lt;BR /&gt;row1.amount is Bigdecimal. 
&lt;BR /&gt;How can I compare these values? 
&lt;BR /&gt;Thanks! 
&lt;BR /&gt;Regards,</description>
      <pubDate>Sat, 16 Nov 2024 12:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315992#M86585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare value of BigDecimal with a integer in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315993#M86586</link>
      <description>tak a look at java documentation.</description>
      <pubDate>Thu, 09 Feb 2012 09:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315993#M86586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-09T09:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare value of BigDecimal with a integer in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315994#M86587</link>
      <description>Hi,
&lt;BR /&gt;row1.amount!=new BigDecimal(0). But you should the syntaxe row1.amount.compareTo(new BigDecimal(0))? new BigDecimal(0) (it s equal) : (not equal)</description>
      <pubDate>Thu, 09 Feb 2012 10:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315994#M86587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-09T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare value of BigDecimal with a integer in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315995#M86588</link>
      <description>Hi, 
&lt;BR /&gt;I don't know what you exactly want to do, but you can also write like below... 
&lt;BR /&gt;row1.amount != BigDecimal.valueOf(0) 
&lt;BR /&gt;So, if you use it in expression builder, you probably would like to make a logical comprasion. for that; 
&lt;BR /&gt;row1.amount != BigDecimal.valueOf(0) ? do x : do y</description>
      <pubDate>Sat, 11 Feb 2012 19:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315995#M86588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-11T19:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare value of BigDecimal with a integer in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315996#M86589</link>
      <description>First convert BigDecimal tparam to integer in Expression Builder. 
&lt;BR /&gt;For Example : row1.ID.intValue() &amp;gt;= 2? "Y" : "N";</description>
      <pubDate>Thu, 29 Sep 2016 11:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-compare-value-of-BigDecimal-with-a-integer-in-tMap/m-p/2315996#M86589</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-09-29T11:51:14Z</dc:date>
    </item>
  </channel>
</rss>

