<?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: Remove Zero After Point. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zero-after-point/m-p/12306102#M1990558</link>
    <description>&lt;P&gt;It's a currency amount so you should format it according to the corresponding currency code and it will then contain the number of decimals defined for the currency code. For instance USD and EUR have 2 decimals, so the formatting would be automatically 0.00.&lt;/P&gt;&lt;P&gt;Please search currency decimals formatting in the forum. WRITE CURRENCY or string template &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA(amount_internal) = CONV kbetr( '3.1416' ).

data(string) = |{ amount_internal CURRENCY = 'EUR' }|. " currency has 2 decimals

ASSERT string = '314.16'.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 18 Mar 2021 14:00:13 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2021-03-18T14:00:13Z</dc:date>
    <item>
      <title>Remove Zero After Point.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zero-after-point/m-p/12306101#M1990557</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;i have a Amount Field KBETR . in result I got value as '000000.0000000' but i want as '0000.00'.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903106-kbetr-value.png" /&gt;&lt;/P&gt;
  &lt;P&gt;i used shift trailing and many thing but not get result in write way.&lt;/P&gt;
  &lt;P&gt;thanks and Regards,&lt;/P&gt;
  &lt;P&gt;Yasir haider.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 11:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zero-after-point/m-p/12306101#M1990557</guid>
      <dc:creator>former_member735855</dc:creator>
      <dc:date>2021-03-18T11:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Zero After Point.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zero-after-point/m-p/12306102#M1990558</link>
      <description>&lt;P&gt;It's a currency amount so you should format it according to the corresponding currency code and it will then contain the number of decimals defined for the currency code. For instance USD and EUR have 2 decimals, so the formatting would be automatically 0.00.&lt;/P&gt;&lt;P&gt;Please search currency decimals formatting in the forum. WRITE CURRENCY or string template &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA(amount_internal) = CONV kbetr( '3.1416' ).

data(string) = |{ amount_internal CURRENCY = 'EUR' }|. " currency has 2 decimals

ASSERT string = '314.16'.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zero-after-point/m-p/12306102#M1990558</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-03-18T14:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Zero After Point.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zero-after-point/m-p/12306103#M1990559</link>
      <description>&lt;P&gt;Hi Yasir,&lt;/P&gt;&lt;P&gt;you have also fomat option DECIMALS&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapcompute_string_format_options.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapcompute_string_format_options.htm&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data(string)=|{ amount_internal DECIMALS = 0}|.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-zero-after-point/m-p/12306103#M1990559</guid>
      <dc:creator>ThorstenHoefer</dc:creator>
      <dc:date>2021-03-18T14:28:51Z</dc:date>
    </item>
  </channel>
</rss>

