<?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: Type f in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146279#M452754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All the things you asked are related to store the Logarithmic values and the big float values that are stored in SAP.&lt;/P&gt;&lt;P&gt;See the doc for TYPE F&lt;/P&gt;&lt;P&gt;Floating point numbers - type F&lt;/P&gt;&lt;P&gt;The value range of type F numbers is 1x10*&lt;STRONG&gt;-307 to 1x10&lt;/STRONG&gt;*308 for positive and negative numbers, including 0 (zero). The accuracy range is approximately 15 decimals, depending on the floating point arithmetic of the hardware platform. Since type F data is internally converted to a binary system, rounding errors can occur. Although the ABAP processor tries to minimize these effects, you should not use type F data if high accuracy is required. Instead, use type P data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using I and F fields for calculations is quicker than using P fields. Arithmetic operations using I and F fields are very similar to the actual machine code operations, while P fields require more support from the software. Nevertheless, you have to use type P data to meet accuracy or value range requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also take a TABLE field AUSP-ATWRT and see its values, you will know all about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2007 06:51:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-17T06:51:23Z</dc:date>
    <item>
      <title>Type f</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146276#M452751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For literals of  very big numbers , we use text literal of the format:-&lt;/P&gt;&lt;P&gt;' [&amp;lt;mantissa&amp;gt;] [E] [&amp;lt;exponent&amp;gt;] '&lt;/P&gt;&lt;P&gt;I have the following difficulties:-&lt;/P&gt;&lt;P&gt;ques]] What does the following terms mean:-&lt;/P&gt;&lt;P&gt;1.    [&amp;lt;mantissa&amp;gt;]   =?&lt;/P&gt;&lt;P&gt;2.    [E]  = ?&lt;/P&gt;&lt;P&gt;3.    [&amp;lt;exponent&amp;gt;]  =?&lt;/P&gt;&lt;P&gt;4.    Why is this needed  &amp;amp; needed  for long literals?&lt;/P&gt;&lt;P&gt;5.    What does the following numbers look like/ explain them in words&lt;/P&gt;&lt;P&gt;     (1) '+12.3E-4' , (2) ' -765E-04'&lt;/P&gt;&lt;P&gt;[Please explain in simple terms]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146276#M452751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Type f</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146277#M452752</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;[&amp;lt;mantissa&amp;gt;] = The value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[E] = Exponent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&amp;lt;exponent&amp;gt;] =The value metion in this part means the power to 10. eg -4, it means 10 raise to -4 = 1/10000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+12.3E-4 = 12.3 * 1/10000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146277#M452752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Type f</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146278#M452753</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;[&amp;lt;mantissa&amp;gt;] is the base number for which when u raise the exponent given in [&amp;lt;exponent&amp;gt;] with 10  gives you the resultant number  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example take this number &amp;lt;b&amp;gt;+12.3E-4&lt;/P&gt;&lt;P&gt;is equivalent to  12.3 X 10^(-4) = .00123&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when it comes to large numbers suppose say 12.3E35. then this number in normal format will have 37 characters.. we cannot store it in a variable of type i ( which can hold onli 11 characters ).. so to store this value we use this format .. of type f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146278#M452753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Type f</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146279#M452754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All the things you asked are related to store the Logarithmic values and the big float values that are stored in SAP.&lt;/P&gt;&lt;P&gt;See the doc for TYPE F&lt;/P&gt;&lt;P&gt;Floating point numbers - type F&lt;/P&gt;&lt;P&gt;The value range of type F numbers is 1x10*&lt;STRONG&gt;-307 to 1x10&lt;/STRONG&gt;*308 for positive and negative numbers, including 0 (zero). The accuracy range is approximately 15 decimals, depending on the floating point arithmetic of the hardware platform. Since type F data is internally converted to a binary system, rounding errors can occur. Although the ABAP processor tries to minimize these effects, you should not use type F data if high accuracy is required. Instead, use type P data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using I and F fields for calculations is quicker than using P fields. Arithmetic operations using I and F fields are very similar to the actual machine code operations, while P fields require more support from the software. Nevertheless, you have to use type P data to meet accuracy or value range requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also take a TABLE field AUSP-ATWRT and see its values, you will know all about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-f/m-p/2146279#M452754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:51:23Z</dc:date>
    </item>
  </channel>
</rss>

