ABAP Keyword Documentation →  ABAP − Reference →  Predefined Types, Data Objects, Functions, and Constructors →  Predefined Data Types →  Predefined Types in ABAP Dictionary →  Use of Predefined Data Types from ABAP Dictionary → 

Decimal Floating Point Numbers in ABAP Dictionary

In decimal floating point numbers, a maximum of 16 or 34 decimal places are returned exactly in the mantissa depending on the data type.

Handling in ABAP Dictionary

In ABAP Dictionary, the following data types are available for decimal floating numbers:

The following applies to these data types:

Handling in Screens

In a domain, or directly in a structure component created using one of the types for decimal floating numbers, one of the following output styles is always defined. The output style determines how a decimal floating point number is displayed on the screen of a dynpro.

For screen fields whose data type is not defined in thABAP Dictionary, the output style can also be determined in the Screen Painter.

Handling in ABAP Programs

The ABAP types which correspond to the 16 or 34 figure decimal floating numbers in ABAP Dictionary are decfloat16 and decfloat34, which are handled internally according to the IEEE-754-2008 standard, and are supported by all operations.

The STYLE addition after WRITE [TO] and the STYLE formatting option in embedded expressions are available for the formatting of decimal floating numbers in programs. These overwrite the output style defined in ABAP Dictionary.