Ansicht
Dokumentation
ABENWRITE_STYLE_ABEXA - WRITE STYLE ABEXA
rdisp/max_wprun_time - Maximum work process run time General Data in Customer MasterThis documentation is copyright by SAP AG.
Decimal Floating Point Numbers, Formatting with STYLE
This example demonstrates the formatting of decimal floating point numbers.
Source Code
Description
The program depicts the effects of all possible output formats for a decimal floating point number with the output formats from the class CL_ABAP_FORMAT. The possible output formats are read using RTTI and are sorted according to their value. Formatting takes place once with the addition STYLE of the statement WRITE TO and twice with the parameter STYLE in embedded expressions of string templates.
For the first string template, the format RAW is used implicitly for the formatting option NUMBER, which is why a period (.) and not a thousands separator is used as the decimal separator. Explicitly specifying the format USER creates the same formatting as WRITE TO.
ABAP Short Reference ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 1481 Date: 20240423 Time: 192731 sap01-206 ( 27 ms )