<?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: Re-FLOATING POINT VALUE CONVERSION. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746716#M1113370</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;call fm CONVERT_WITH_OVERFLOW_CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data lv_num type f .&lt;/P&gt;&lt;P&gt;data: p10_4(10)     type p decimals 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_num  = 27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_WITH_OVERFLOW_CHECK'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_value                     =             lv_num&lt;/P&gt;&lt;P&gt;   I_UNIT                      =             ' '&lt;/P&gt;&lt;P&gt;   I_KRUND                  =            ' '&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   E_VALUE                 =            p10_4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   UNIT_CONVERSION_ERROR       = 1&lt;/P&gt;&lt;P&gt;   WRONG_E_VALUE_TYPE           = 2&lt;/P&gt;&lt;P&gt;   OTHERS                                     = 3&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the variable p10_4 will be having your result. its format will be driven by the type you have taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vishal Kapoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 10:58:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T10:58:09Z</dc:date>
    <item>
      <title>Re-FLOATING POINT VALUE CONVERSION.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746713#M1113367</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;I have value lile this : 1.000000000000000E&lt;EM&gt;03,   or  1.090000000000000E&lt;/EM&gt;02  , is there &lt;/P&gt;&lt;P&gt;any function module to convert it into actual value like 1,00.00 or 1,099.00 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746713#M1113367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T10:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re-FLOATING POINT VALUE CONVERSION.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746714#M1113368</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 the following code:&lt;/P&gt;&lt;P&gt;data: fld1 type f value '1.000000000000000E+03',&lt;/P&gt;&lt;P&gt;      fld2 type p decimals 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fld2 = fld1.&lt;/P&gt;&lt;P&gt;write:/ fld1,&lt;/P&gt;&lt;P&gt;      / fld2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746714#M1113368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T10:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re-FLOATING POINT VALUE CONVERSION.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746715#M1113369</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;Try with this fm &lt;STRONG&gt;C14W_NUMBER_CHAR_CONVERSION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746715#M1113369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T10:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re-FLOATING POINT VALUE CONVERSION.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746716#M1113370</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;call fm CONVERT_WITH_OVERFLOW_CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data lv_num type f .&lt;/P&gt;&lt;P&gt;data: p10_4(10)     type p decimals 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_num  = 27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_WITH_OVERFLOW_CHECK'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_value                     =             lv_num&lt;/P&gt;&lt;P&gt;   I_UNIT                      =             ' '&lt;/P&gt;&lt;P&gt;   I_KRUND                  =            ' '&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   E_VALUE                 =            p10_4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   UNIT_CONVERSION_ERROR       = 1&lt;/P&gt;&lt;P&gt;   WRONG_E_VALUE_TYPE           = 2&lt;/P&gt;&lt;P&gt;   OTHERS                                     = 3&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the variable p10_4 will be having your result. its format will be driven by the type you have taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vishal Kapoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746716#M1113370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re-FLOATING POINT VALUE CONVERSION.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746717#M1113371</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;try this FM...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: num TYPE qsollwertc.

CALL FUNCTION 'QSS0_FLTP_TO_CHAR_CONVERSION'
  EXPORTING
    i_number_of_digits = 3
    i_fltp_value       = '4.3500000000000000E+00'
*   I_VALUE_NOT_INITIAL_FLAG       = 'X'
*   I_SCREEN_FIELDLENGTH           = 16
IMPORTING
e_char_field                   = num
.
WRITE: num.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arunima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 11:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746717#M1113371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T11:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re-FLOATING POINT VALUE CONVERSION.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746718#M1113372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 06:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-floating-point-value-conversion/m-p/4746718#M1113372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T06:02:06Z</dc:date>
    </item>
  </channel>
</rss>

