<?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: Float data type issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317946#M88331</link>
    <description>row.column1.abs()&lt;BR /&gt;row.column1.multiply(row.column2)&lt;BR /&gt;row.column1.divide(row.column2)&lt;BR /&gt;See the &lt;A href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html" target="_blank" rel="nofollow noopener noreferrer"&gt;Java docs&lt;/A&gt;.</description>
    <pubDate>Thu, 05 Sep 2013 16:32:09 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2013-09-05T16:32:09Z</dc:date>
    <item>
      <title>Float data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317941#M88326</link>
      <description>Hi,
&lt;BR /&gt;I have column with the datatype float(8,6), in the initial load the value it takes as 1.299999 and in the second run it gives the values as 1.299998. What could be the issue behind this inconsistency.This causes our insert update stratergy to fail.</description>
      <pubDate>Tue, 03 Sep 2013 13:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317941#M88326</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-09-03T13:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Float data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317942#M88327</link>
      <description>In Source database the value is 1.3 but Talend is reading it as 1.299999 which seems to be a bug. Any idea how this could be handled.</description>
      <pubDate>Tue, 03 Sep 2013 14:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317942#M88327</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-09-03T14:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Float data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317943#M88328</link>
      <description>hi,
&lt;BR /&gt;you have to use BigDecimal to keep all precision on decimal.
&lt;BR /&gt;Float &amp;amp; Double in Java could round number.
&lt;BR /&gt;
&lt;A href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html" rel="nofollow noopener noreferrer"&gt;http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html&lt;/A&gt;
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
      <pubDate>Tue, 03 Sep 2013 14:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317943#M88328</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-03T14:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Float data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317944#M88329</link>
      <description>Hi,&lt;BR /&gt;After using data type as bigdecimal,Talend won't allow to perform *,/ oprations and abs() function on that column.&lt;BR /&gt;Please help me on this.</description>
      <pubDate>Thu, 05 Sep 2013 11:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317944#M88329</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-09-05T11:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Float data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317945#M88330</link>
      <description>Hi you can use code like&lt;BR /&gt;&lt;PRE&gt;  row1.nb.compareTo(new BigDecimal("0"))&amp;lt;=0?row1.nb.multiply(new BigDecimal("-1")):row1.nb&lt;/PRE&gt;&lt;BR /&gt;to replace abs()</description>
      <pubDate>Thu, 05 Sep 2013 11:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317945#M88330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-05T11:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Float data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317946#M88331</link>
      <description>row.column1.abs()&lt;BR /&gt;row.column1.multiply(row.column2)&lt;BR /&gt;row.column1.divide(row.column2)&lt;BR /&gt;See the &lt;A href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html" target="_blank" rel="nofollow noopener noreferrer"&gt;Java docs&lt;/A&gt;.</description>
      <pubDate>Thu, 05 Sep 2013 16:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Float-data-type-issue/m-p/2317946#M88331</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-09-05T16:32:09Z</dc:date>
    </item>
  </channel>
</rss>

