<?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 How i can convert double in Integer in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-i-can-convert-double-in-Integer/m-p/2345334#M112877</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;How i can convert double to integer(int) in Talend. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:47:12 GMT</pubDate>
    <dc:creator>TDIALLO</dc:creator>
    <dc:date>2024-11-15T21:47:12Z</dc:date>
    <item>
      <title>How i can convert double in Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-i-can-convert-double-in-Integer/m-p/2345334#M112877</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;How i can convert double to integer(int) in Talend. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-i-can-convert-double-in-Integer/m-p/2345334#M112877</guid>
      <dc:creator>TDIALLO</dc:creator>
      <dc:date>2024-11-15T21:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: How i can convert double in Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-i-can-convert-double-in-Integer/m-p/2345335#M112878</link>
      <description>&lt;P&gt;Hello @THIERNO DIALLO​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;There are 2 possible solutions:&lt;/P&gt;&lt;P&gt;&lt;B&gt;Solution 1:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;double data = 3452.345&lt;/P&gt;&lt;P&gt;&lt;B&gt;int value = (int)data;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Solution 2:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;double data = 3452.345&lt;/P&gt;&lt;P&gt;Double newData = new Double(data);&lt;/P&gt;&lt;P&gt;&lt;B&gt;int value = newData.intValue();&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 00:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-i-can-convert-double-in-Integer/m-p/2345335#M112878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-22T00:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How i can convert double in Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-i-can-convert-double-in-Integer/m-p/2345336#M112879</link>
      <description>&lt;P&gt;hi achen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer .&lt;/P&gt;&lt;P&gt;My solution is similar to your first suggestion and it works fine.&lt;/P&gt;&lt;P&gt;Thanks again for your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(int) Math.round(my double data)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-i-can-convert-double-in-Integer/m-p/2345336#M112879</guid>
      <dc:creator>TDIALLO</dc:creator>
      <dc:date>2023-05-22T08:07:32Z</dc:date>
    </item>
  </channel>
</rss>

