<?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: floating point  with out exponential in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742206#M1301802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; try this way..&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;
&amp;gt; w_curr = 2.6400000000000001E+00.
&amp;gt; data : w_dummy(10)  type c.
&amp;gt; 
&amp;gt; split w_curr  at 'E' into w_curr 
&amp;gt;                                  w_dummy.
&amp;gt; &lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; Prabhu&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This logic does not work if the value like '2.6400000000000001E+01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2009 19:26:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-01T19:26:48Z</dc:date>
    <item>
      <title>floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742201#M1301797</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;Value of the floating point field is 2.6400000000000001E0, Now i want to remove the exponential format and change it as &lt;STRONG&gt;"2.6400000000000001"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How it can be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 18:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742201#M1301797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T18:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742202#M1301798</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;Check this FM C14W_NUMBER_CHAR_CONVERSION'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 18:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742202#M1301798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T18:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742203#M1301799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Check this FM C14W_NUMBER_CHAR_CONVERSION'&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Avinash&lt;/P&gt;&lt;P&gt;when i use the FM&lt;/P&gt;&lt;P&gt;and pass the value 2.6400000000000001E0 into I_float&lt;/P&gt;&lt;P&gt;My oupput is as below&lt;/P&gt;&lt;P&gt;E_STRING                        2.6400000000000       &lt;/P&gt;&lt;P&gt;E_FLOAT                         2.6400000000000001E+00&lt;/P&gt;&lt;P&gt;E_DEC                                2.6400           &lt;/P&gt;&lt;P&gt;E_DECIMALS                      15                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want the same value as 2.6400000000000001 with out exponents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 18:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742203#M1301799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T18:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742204#M1301800</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this way..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
w_curr = 2.6400000000000001E+00.
data : w_dummy(10)  type c.

split w_curr  at 'E' into w_curr 
                                 w_dummy.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 19:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742204#M1301800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T19:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742205#M1301801</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;Check this statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE INPUT TO FLSTR EXPONENT EXPON DECIMALS DECIM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 19:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742205#M1301801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T19:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742206#M1301802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; try this way..&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;
&amp;gt; w_curr = 2.6400000000000001E+00.
&amp;gt; data : w_dummy(10)  type c.
&amp;gt; 
&amp;gt; split w_curr  at 'E' into w_curr 
&amp;gt;                                  w_dummy.
&amp;gt; &lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; Prabhu&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This logic does not work if the value like '2.6400000000000001E+01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 19:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742206#M1301802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T19:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742207#M1301803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your requirement a simple keyword will do the trick.Have a look in the following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT  ZSAMPLE.

parameters : radius type i.
data area type f.

constants pi type p decimals 2 value '3.14'.

area = pi * radius ** 2.

write : area exponent 0 .

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in the code, due to the addition &lt;STRONG&gt;exponent&lt;/STRONG&gt; to the write statement has done the trick and will show the output as desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhinab Mishra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S : Please close down the thread if you have got your answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 07:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742207#M1301803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T07:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: floating point  with out exponential</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742208#M1301804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 13:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/floating-point-with-out-exponential/m-p/5742208#M1301804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T13:54:24Z</dc:date>
    </item>
  </channel>
</rss>

