<?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: Convert Scientific Notation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102186#M1972786</link>
    <description>&lt;P&gt;The OP says "type CHAR 12", I don't see "P" or "PACKED" in the question.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2019 14:33:45 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-11-25T14:33:45Z</dc:date>
    <item>
      <title>Convert Scientific Notation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102180#M1972780</link>
      <description>&lt;P&gt;Hey guys &lt;/P&gt;
  &lt;P&gt;I'd like to convert &lt;STRONG&gt;3,0000000000000000E+04&lt;/STRONG&gt; (type CHAR 12) to its value 30000 (i.e. 3 * 10^4). I'm having trouble dealing with the comma and I'm not sure how to convert this. Can anyone help me?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 13:18:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102180#M1972780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-11-25T13:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Scientific Notation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102181#M1972781</link>
      <description>&lt;P&gt;Do you simply try &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data lv_my_data type i.
lv_my_data =  lv_my_exp. &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Nov 2019 13:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102181#M1972781</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-11-25T13:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Scientific Notation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102182#M1972782</link>
      <description>&lt;P&gt;Yes, it doesn't recognizes as a number&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 13:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102182#M1972782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-11-25T13:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Scientific Notation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102183#M1972783</link>
      <description>&lt;P&gt;Google said &lt;/P&gt;&lt;P&gt;CHAR_FLTP_CONVERSION &lt;/P&gt;&lt;P&gt;FLTP_CHAR_CONVERSION&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102183#M1972783</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-11-25T14:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Scientific Notation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102184#M1972784</link>
      <description>&lt;P&gt;What target type do you expect for 30000 ? Let's suppose decfloat16...&lt;/P&gt;&lt;P&gt;Basic implicit type conversion stuff handled natively by ABAP (cf &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/abenconversion_type_c.htm#@@ITOC@@ABENCONVERSION_TYPE_C_1"&gt;ABAP documentation ? Conversion Rules for Elementary Data Objects ? Character-Like Source Fields ? Source Field Type c ? Numeric Target Fields ? decfloat16&lt;/A&gt; : "The source field must contain a number in mathematical, &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abennumerical_value.htm"&gt;SCIENTIFIC&lt;/A&gt;, or commercial notation"):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA(string) = |3,0000000000000000E+04|.
REPLACE ALL OCCURRENCES OF ',' IN string WITH '.'.
DATA(number) = CONV decfloat16( string ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;NB: I don't understand how 3,0000000000000000E+04 (22 characters) can be stored in only 12 characters, or is it a typographic error?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102184#M1972784</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-11-25T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Scientific Notation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102185#M1972785</link>
      <description>&lt;P&gt;Is it not the packet type ?   1/2 byte to store a the value    so 12 bytes represents 24 values &lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102185#M1972785</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-11-25T14:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Scientific Notation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102186#M1972786</link>
      <description>&lt;P&gt;The OP says "type CHAR 12", I don't see "P" or "PACKED" in the question.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-scientific-notation/m-p/12102186#M1972786</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-11-25T14:33:45Z</dc:date>
    </item>
  </channel>
</rss>

