<?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 Remove zeros from right side in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zeros-from-right-side/m-p/2845122#M666497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove zeros from right side.&lt;/P&gt;&lt;P&gt;like : if value is '0.055500000000E+04'.&lt;/P&gt;&lt;P&gt;then the output should be '0.0555'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get such output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Sep 2007 04:29:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-23T04:29:47Z</dc:date>
    <item>
      <title>Remove zeros from right side</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zeros-from-right-side/m-p/2845122#M666497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove zeros from right side.&lt;/P&gt;&lt;P&gt;like : if value is '0.055500000000E+04'.&lt;/P&gt;&lt;P&gt;then the output should be '0.0555'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get such output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 04:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zeros-from-right-side/m-p/2845122#M666497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T04:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Remove zeros from right side</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zeros-from-right-side/m-p/2845123#M666498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not experienced in your requirement; if you just want to remove zero, then adding the floating point to the char field, then use SHIFT key word.&lt;/P&gt;&lt;P&gt;If you want the correct result then move the floating point to the packed decimals field&amp;#133;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 05:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zeros-from-right-side/m-p/2845123#M666498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T05:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Remove zeros from right side</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zeros-from-right-side/m-p/2845124#M666499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem here is u are dealing with a datatype of format F (i.e floating point ) and the output u desire is in packed format .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot delete the zeros of such data typesas type F instead u can move them to the packed datatype and get the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do one thing declare a variable of type p and move the value of type f which u have right now to the variable u have declared as type p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_val type p decimals 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_val  =  "               &amp;lt;------ assign the type f to type p over here .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 05:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zeros-from-right-side/m-p/2845124#M666499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T05:19:09Z</dc:date>
    </item>
  </channel>
</rss>

