<?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: Function to convert a float in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998646#M75808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you need no fm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lokk F1 to move:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from docu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source field is converted into a packed number. The packed number is then converted into a numeric text field (see corresponding table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2005 11:07:51 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-08-17T11:07:51Z</dc:date>
    <item>
      <title>Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998644#M75806</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;  Someone know which FM can I used to convert a float to a numeric??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 10:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998644#M75806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T10:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998645#M75807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually there is no explicit conversion required. Just move it to a type N or P field to get the desired result. &lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 11:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998645#M75807</guid>
      <dc:creator>ChristianFi</dc:creator>
      <dc:date>2005-08-17T11:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998646#M75808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you need no fm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lokk F1 to move:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from docu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source field is converted into a packed number. The packed number is then converted into a numeric text field (see corresponding table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 11:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998646#M75808</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-08-17T11:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998647#M75809</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;  No, it doesn't convert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have a field in a query like N but the field of the table is float so when it will be display, display it like 8.00000000+E01 and not 180&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 11:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998647#M75809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T11:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998648#M75810</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 that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data f1 type f value 180.
data f2(10)  type n.

move f1 to f2.

write: / f1, f2.

*result*
*  1,8000000000000000E+02 0000000180&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 11:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998648#M75810</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-08-17T11:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998649#M75811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi laura&lt;/P&gt;&lt;P&gt;use function module:MURC_ROUND_FLOAT_TO_PACKED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if it works please reward the poitn and if u need any help in this again just mail back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 11:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998649#M75811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998650#M75812</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 tried to use that function but have an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Errores tiempo ejecucióCALL_FUNCTION_CONFLICT_TYPE   &lt;/P&gt;&lt;P&gt;Excepción              CX_SY_DYN_CALL_ILLEGAL_TYPE   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if I used it correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: v_conf_tc   TYPE ibco2_instance_tab2,&lt;/P&gt;&lt;P&gt;      v_atinn_tc  LIKE ibvalue0-atinn,&lt;/P&gt;&lt;P&gt;      v_values_tc LIKE ibvalue0,&lt;/P&gt;&lt;P&gt;      numerico type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MURC_ROUND_FLOAT_TO_PACKED'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    IF_FLOAT                    = v_values_tc-atflv&lt;/P&gt;&lt;P&gt;   IF_SIGNIFICANT_PLACES       = 15&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   EF_PACKED                   = numerico&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OVERFLOW                    = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                      = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE numerico TO v_atwrt_tc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998650#M75812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998651#M75813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change the declation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;numerico type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;numerico(16) type p decimals 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998651#M75813</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-22T09:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function to convert a float</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998652#M75814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually the dump analysis would tell you which parameter was passed incorrect. i guess its numerico. confirm it with your dump analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-to-convert-a-float/m-p/998652#M75814</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-22T09:43:02Z</dc:date>
    </item>
  </channel>
</rss>

