<?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: Decimal nuber format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290917#M64154</link>
    <description>You should dump the value directly to the console (in tJavaRow e.g.: System.out.println(out1.Value) 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; to see exactly what it looks like with different conversions applied so you can determine exactly where the problem is.</description>
    <pubDate>Wed, 22 Jun 2011 02:23:11 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2011-06-22T02:23:11Z</dc:date>
    <item>
      <title>Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290915#M64152</link>
      <description>Hi everyone, 
&lt;BR /&gt;I am having problem to convert number which is taken from excel as string and during my mapping I have converted to Big decimal as need it to get rid of commas ... 
&lt;BR /&gt;On the end when I am outputting this value in my xml I am having number in format 1.197803E+7. 
&lt;BR /&gt;I had try to change again to string and make to be as normal number using this method but still not have any luck. 
&lt;BR /&gt;out1.Value.toString().contains(".") ? out1.Value.toString() : out1.Value.toString() + ".000000000001" 
&lt;BR /&gt;Is anyone know the easy way to get real number or method how I will do this. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Zeljka</description>
      <pubDate>Sat, 16 Nov 2024 12:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290915#M64152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290916#M64153</link>
      <description>Hi 
&lt;BR /&gt;What's the real value looks like in excel? What's your expected result? Do you check the box 'read real values from number' in the advanced settings tab of tFileInputExcel. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 22 Jun 2011 02:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290916#M64153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T02:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290917#M64154</link>
      <description>You should dump the value directly to the console (in tJavaRow e.g.: System.out.println(out1.Value) 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; to see exactly what it looks like with different conversions applied so you can determine exactly where the problem is.</description>
      <pubDate>Wed, 22 Jun 2011 02:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290917#M64154</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-06-22T02:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290918#M64155</link>
      <description>If your output File XML defines the target field as a string or double column, try switching it to BigDecimal.</description>
      <pubDate>Wed, 22 Jun 2011 02:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290918#M64155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T02:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290919#M64156</link>
      <description>I have tried to use as string, double and BigDecimal and output is always same ...&lt;BR /&gt;I am bit confused now what can be...&lt;BR /&gt;Zeljka</description>
      <pubDate>Wed, 22 Jun 2011 11:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290919#M64156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290920#M64157</link>
      <description>hi everyone, 
&lt;BR /&gt;I have found solution after trying a few things , not sure how briliant is but working at the moment and giving me right output... 
&lt;BR /&gt; new java.text.DecimalFormat("#.############").format(row8.Value.doubleValue()) 
&lt;BR /&gt;Zeljka</description>
      <pubDate>Wed, 22 Jun 2011 11:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290920#M64157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T11:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290921#M64158</link>
      <description>Hi&lt;BR /&gt;try to read the column as string and then convert to double or float</description>
      <pubDate>Wed, 22 Jun 2011 11:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290921#M64158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T11:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290922#M64159</link>
      <description>Hi,
&lt;BR /&gt;If you're having trouble with format and applying conversions throughout your map, consider isolating the conversions using this strategy.
&lt;BR /&gt;1. Set all of the input Excel fields to "string". 
&lt;BR /&gt;2. Create a File XML with specific types (double, BigDecimal) in the XML output fields. 
&lt;BR /&gt;3. Add a tConvertType, preferably with "Auto Cast", to the input Excel to set the Excel types. Leave "uncastable" values as strings. This step will define a second schema based on the input Excel, but with types.
&lt;BR /&gt;4. Connect a tMap to apply more complicated conversions that may involve a helper function (TalendDate, etc.). Convert any "uncastable" values in the mapping.
&lt;BR /&gt;The following link is on working with commas and decimal points in numeric strings.
&lt;BR /&gt;
&lt;A href="http://bekwam.blogspot.com/2011/05/different-locales-us-europe-in-talend.html" rel="nofollow noopener noreferrer"&gt;http://bekwam.blogspot.com/2011/05/different-locales-us-europe-in-talend.html&lt;/A&gt;
&lt;BR /&gt;-Carl</description>
      <pubDate>Wed, 22 Jun 2011 11:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290922#M64159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T11:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal nuber format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290923#M64160</link>
      <description>thanks for this tips ...&lt;BR /&gt;Z</description>
      <pubDate>Wed, 22 Jun 2011 17:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Decimal-nuber-format/m-p/2290923#M64160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T17:28:34Z</dc:date>
    </item>
  </channel>
</rss>

