<?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 Convert a BigDecimal to Integer - tJavaRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Convert-a-BigDecimal-to-Integer-tJavaRow/m-p/2301837#M73879</link>
    <description>&lt;P&gt;I need to convert a BigDec to Int:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of my source data as a BigDec via a tFileInputExcel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;153227.49&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I would like to convert it into an INT using tJavaRow to show the following result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;15322749&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions and thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Bob&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:55:16 GMT</pubDate>
    <dc:creator>RVeitch_84</dc:creator>
    <dc:date>2024-11-15T22:55:16Z</dc:date>
    <item>
      <title>Convert a BigDecimal to Integer - tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-a-BigDecimal-to-Integer-tJavaRow/m-p/2301837#M73879</link>
      <description>&lt;P&gt;I need to convert a BigDec to Int:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of my source data as a BigDec via a tFileInputExcel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;153227.49&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I would like to convert it into an INT using tJavaRow to show the following result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;15322749&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions and thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Bob&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-a-BigDecimal-to-Integer-tJavaRow/m-p/2301837#M73879</guid>
      <dc:creator>RVeitch_84</dc:creator>
      <dc:date>2024-11-15T22:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a BigDecimal to Integer - tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-a-BigDecimal-to-Integer-tJavaRow/m-p/2301838#M73880</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Just remove the period from the source data? If so, try this expression to convert BigDecimal to integer type.&lt;/P&gt;&lt;P&gt;output_row.c1 = Integer.parseInt((input_row.c1.toString()).replaceAll("\\.",""));&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;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 03:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-a-BigDecimal-to-Integer-tJavaRow/m-p/2301838#M73880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-16T03:27:12Z</dc:date>
    </item>
  </channel>
</rss>

