<?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: put decimal point after two digits in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294553#M67420</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Please read the value as string to a tmap and use the below function.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;StringHandling.LEFT(row1.input,2)+"."+StringHandling.RIGHT(row1.input,StringHandling.LEN(row1.input)-2)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note:- Please add additional checks to handle NULL and strings whose length are less than 2 if required.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzSO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148618iC36393D2DAB1B308/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzSO.png" alt="0683p000009LzSO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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; 
&lt;P&gt;Once the conversion is over, you can convert the string to Double if the target is looking for that option.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 09:42:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-07T09:42:41Z</dc:date>
    <item>
      <title>put decimal point after two digits</title>
      <link>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294552#M67419</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt; 
&lt;P&gt;i have row in csv which has below data&amp;nbsp; ,i want to insert decimal point after the starting two digits&lt;/P&gt; 
&lt;P&gt;i am using Tmap&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;number1&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;12355&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;23455&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;26463&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;35535&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Expected:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;number1&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;12.35&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;23.45&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;26.46&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;35.53&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Thnks&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 07:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294552#M67419</guid>
      <dc:creator>sbxr</dc:creator>
      <dc:date>2018-08-07T07:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: put decimal point after two digits</title>
      <link>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294553#M67420</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Please read the value as string to a tmap and use the below function.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;StringHandling.LEFT(row1.input,2)+"."+StringHandling.RIGHT(row1.input,StringHandling.LEN(row1.input)-2)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note:- Please add additional checks to handle NULL and strings whose length are less than 2 if required.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzSO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148618iC36393D2DAB1B308/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzSO.png" alt="0683p000009LzSO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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; 
&lt;P&gt;Once the conversion is over, you can convert the string to Double if the target is looking for that option.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294553#M67420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T09:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: put decimal point after two digits</title>
      <link>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294554#M67421</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;ut you missed limiting to two digits after decimal point.please check my expected output&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294554#M67421</guid>
      <dc:creator>sbxr</dc:creator>
      <dc:date>2018-08-07T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: put decimal point after two digits</title>
      <link>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294555#M67422</link>
      <description>&lt;P&gt;Hi Sushil,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Please add another LEFT function as a quick option to limit the output to first five characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;StringHandling.LEFT(StringHandling.LEFT(row1.input,2)+"."+StringHandling.RIGHT(row1.input,StringHandling.LEN(row1.input)-2),5)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the solution has helped you, could you please mark the topic as resolved? Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/put-decimal-point-after-two-digits/m-p/2294555#M67422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T09:51:30Z</dc:date>
    </item>
  </channel>
</rss>

