<?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: Ternary operator in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Ternary-operator-in-tMap/m-p/2273527#M50492</link>
    <description>Hi,&lt;BR /&gt;Try this :&lt;BR /&gt;Var.MNT_DR = Map_In.SAADBC.equals("D") ? Map_In.SAAMNT : 0.0;</description>
    <pubDate>Tue, 03 Jun 2008 14:12:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-06-03T14:12:18Z</dc:date>
    <item>
      <title>Ternary operator in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ternary-operator-in-tMap/m-p/2273526#M50491</link>
      <description>Hi, 
&lt;BR /&gt;Is there somebody to tell me why the following ternary expression doesn't works ? 
&lt;BR /&gt;Var.MNT_DR = (Map_In.SAADBC == "D") ? Map_In.SAAMNT : 0; 
&lt;BR /&gt;As shown on the debugger printsrceen, the field Map_In.SAADBC contains "D" so the test is true and the var.MNT_DR should be updated. 
&lt;BR /&gt;both Var.MNT_DR and Map_In.SAAMNT are float and SAADBC is defined as a String with a lenght of 1. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCEo.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140042i6AA475B1673AC9EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCEo.jpg" alt="0683p000009MCEo.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ternary-operator-in-tMap/m-p/2273526#M50491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ternary operator in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ternary-operator-in-tMap/m-p/2273527#M50492</link>
      <description>Hi,&lt;BR /&gt;Try this :&lt;BR /&gt;Var.MNT_DR = Map_In.SAADBC.equals("D") ? Map_In.SAAMNT : 0.0;</description>
      <pubDate>Tue, 03 Jun 2008 14:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ternary-operator-in-tMap/m-p/2273527#M50492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-03T14:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ternary operator in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Ternary-operator-in-tMap/m-p/2273528#M50493</link>
      <description>That works ! Thanks a lot Maverick</description>
      <pubDate>Tue, 03 Jun 2008 16:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Ternary-operator-in-tMap/m-p/2273528#M50493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-03T16:34:09Z</dc:date>
    </item>
  </channel>
</rss>

