Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: data type F

$
0
0

Hi

 

 

Here is what it says in ABAP documentation.

 

 

  • Floating point numbers - type F

The value range of type F numbers is 1x10**-307 to 1x10**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.

 

 

It clearly mentions that the accuracy when using type F is appoximately 15 decimals.

 

 

Regards,

Philip.

 


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>