<?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: Validating Decimal with precision in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295317#M68101</link>
    <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Yes, This is what i want to do.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You suggest to do this advanced mode in filterrow using java program ? because lets say for example if I receive a decimal 55.182048495449, and if i validate if its less than 9999999.99 , it would pass.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't see an option in normal mode to count the number of digits after the decimal point and validate if they are greater than 0. Just wanted to check if i am missing something, else would write a java code in advanced mode.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 15:18:00 GMT</pubDate>
    <dc:creator>sensiva</dc:creator>
    <dc:date>2018-01-10T15:18:00Z</dc:date>
    <item>
      <title>Validating Decimal with precision</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295313#M68097</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a requirement to validate the incoming message with the schema and one on the column has a decimal element.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My design has tfileInputdelimited --&amp;gt; tuniqrow-&amp;gt; tschemacompliancecheck -&amp;gt;tmap-&amp;gt;toracleoutput&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Initially, I defined my schema in tfileInputdelimited with length and defined the decimal column as float with length and precision. And i tried to validate all the columns in tschemacompliancecheck. It is not validating the decimal. My precision is 2, but i sent a data with 10 digits after decimal point and it still passes sucessfully.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then i tried to validate the data at the tfileinputDelimited by defining the column as bigdecimal, but even that didn't work. Whatever number of digits i send after point, is treated sucessfully.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I played with option like (Advanced seprator for number, Double data format etc) but nothing is validating the precision.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you guys share your thoughts on this point.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Sen&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 10:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295313#M68097</guid>
      <dc:creator>sensiva</dc:creator>
      <dc:date>2018-01-02T10:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Validating Decimal with precision</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295314#M68098</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Format (length and precision) doesn't matter for&amp;nbsp;content validation.&lt;/P&gt;&lt;P&gt;However, you should use a tFilterRow component to control which values are valid and which aren't.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295314#M68098</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-01-02T11:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Validating Decimal with precision</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295315#M68099</link>
      <description>&lt;P&gt;Hi TRF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excuse-me, but i am not able to understand, what could be done with tfilterRow here. Use the Advanced option and parse the incoming as a doube with precision and then route accordingly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tschemacompliancecheck would not validate the length for decimals ? because, i will have add a tfilterRow just for this decimal column..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sen&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 14:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295315#M68099</guid>
      <dc:creator>sensiva</dc:creator>
      <dc:date>2018-01-02T14:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Validating Decimal with precision</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295316#M68100</link>
      <description>Hi,&lt;BR /&gt;You can use tFilterRow to control min and max values. So, if you have 10 digits after the decimal point where you expect just 2 and those digits are greater than 0, then tFilterRow will reject the corresponding record.&lt;BR /&gt;That's what you expect, no?</description>
      <pubDate>Tue, 02 Jan 2018 22:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295316#M68100</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-01-02T22:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Validating Decimal with precision</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295317#M68101</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Yes, This is what i want to do.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You suggest to do this advanced mode in filterrow using java program ? because lets say for example if I receive a decimal 55.182048495449, and if i validate if its less than 9999999.99 , it would pass.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't see an option in normal mode to count the number of digits after the decimal point and validate if they are greater than 0. Just wanted to check if i am missing something, else would write a java code in advanced mode.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 15:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295317#M68101</guid>
      <dc:creator>sensiva</dc:creator>
      <dc:date>2018-01-10T15:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Validating Decimal with precision</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295318#M68102</link>
      <description>&lt;P&gt;Hi pls explain how reject after 2 decimal data and how to round 2 decimal &lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 06:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validating-Decimal-with-precision/m-p/2295318#M68102</guid>
      <dc:creator>athakur1646451554</dc:creator>
      <dc:date>2022-03-17T06:58:14Z</dc:date>
    </item>
  </channel>
</rss>

