<?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: datatypes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691454#M888906</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;STRONG&gt;Float Data Type:&lt;/STRONG&gt; It cannot be declared in Parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Packed Number:&lt;/STRONG&gt; It can be declared in Parameters.&lt;/P&gt;&lt;P&gt;More accurate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 09:19:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-08T09:19:22Z</dc:date>
    <item>
      <title>datatypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691448#M888900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai sir&lt;/P&gt;&lt;P&gt;     what is difference bt float and packed decimals...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 05:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691448#M888900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T05:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: datatypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691449#M888901</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;Packed Numbers&lt;/P&gt;&lt;P&gt;The valid length for packed numbers is between 1 and 16 bytes; &lt;/P&gt;&lt;P&gt;two decimal places are packed into one byte, whereby the last byte &lt;/P&gt;&lt;P&gt;only contains one place and the plus/minus sign; &lt;/P&gt;&lt;P&gt;after the decimal separator, up to 14 decimal places are permitted. &lt;/P&gt;&lt;P&gt;Depending on the field length len and the number of decimal places dec, &lt;/P&gt;&lt;P&gt;the following applies for the value area: &lt;/P&gt;&lt;P&gt;(-10&lt;SUP&gt;(2len -1) +1) / (10&lt;/SUP&gt;(&lt;EM&gt;dec)) to (&lt;/EM&gt;10&lt;SUP&gt;(2len -1) -1) /(10&lt;/SUP&gt;(+dec)) in steps of 10^(-dec). &lt;/P&gt;&lt;P&gt;Values in between this range are rounded off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Floating point numbers&lt;/P&gt;&lt;P&gt;Floating point numbers are displayed internally with 16 decimal places &lt;/P&gt;&lt;P&gt;according to the IEEE-754 standard (double precision).&lt;/P&gt;&lt;P&gt;Valid values are -1,7976931348623157EE+308 to -2,2250738585072014EE-308 &lt;/P&gt;&lt;P&gt;for the negative area, &lt;/P&gt;&lt;P&gt;the value zero, &lt;/P&gt;&lt;P&gt;and +2,2250738585072014EE-308 to &lt;EM&gt;1,7976931348623157EE&lt;/EM&gt;308 &lt;/P&gt;&lt;P&gt;for the positive area. &lt;/P&gt;&lt;P&gt;Both validity areas are extended in the direction of zero&lt;/P&gt;&lt;P&gt;through denormalized numbers after IEEE-754.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Wishes,&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if Useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 05:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691449#M888901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T05:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: datatypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691450#M888902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Field Data Type: It cannot be declared in parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Packed Data Type: It can be declared in parameters.In this,&lt;/P&gt;&lt;P&gt;Default Field Length is twice the defined field length,if decimal places are defined, the default field length is increased by 1 so that it is 2 * field length + 1.For ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: A(4) TYPE P DECIMALS 2.&lt;/P&gt;&lt;P&gt;B(4) TYPE P DECIMALS 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:C(4) TYPE P DECIMALS 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C = A + B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ 'THE SUM IS',C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points if helpful,&lt;/P&gt;&lt;P&gt;Aastha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 06:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691450#M888902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T06:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: datatypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691451#M888903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Float Data Type: It cannot be declared in Parameters.&lt;/P&gt;&lt;P&gt;Packed Number: It can be declared in Parameters.&lt;/P&gt;&lt;P&gt;For e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : A(4) TYPE P DECIMALS 2,&lt;/P&gt;&lt;P&gt;B(4) TYPE P DECIMALS 2.&lt;/P&gt;&lt;P&gt;DATA : C(4) TYPE P DECIMALS 2.&lt;/P&gt;&lt;P&gt;C = A + B.&lt;/P&gt;&lt;P&gt;WRITE : / &amp;#145;THE SUM IS&amp;#146; , C. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;moreover, i used packed data type to subtract date values to get the number of dates which was not possible using any other data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 06:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691451#M888903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T06:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: datatypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691452#M888904</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;Packed numbers - type P&lt;/P&gt;&lt;P&gt;Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use type P data for such values as distances, weights, amounts of money, and so on.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;sowjanya.gosala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 05:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691452#M888904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T05:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: datatypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691453#M888905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&amp;#149;	Packed numbers - type P&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.&lt;/P&gt;&lt;P&gt;&lt;U&gt;You can use type P data for such values as distances, weights, amounts of money, and so on&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;#149;	Floating point numbers - type F&lt;/STRONG&gt;&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;U&gt;You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some More:-&lt;/STRONG&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 08:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691453#M888905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T08:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: datatypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691454#M888906</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;STRONG&gt;Float Data Type:&lt;/STRONG&gt; It cannot be declared in Parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Packed Number:&lt;/STRONG&gt; It can be declared in Parameters.&lt;/P&gt;&lt;P&gt;More accurate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 09:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/datatypes/m-p/3691454#M888906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T09:19:22Z</dc:date>
    </item>
  </channel>
</rss>

