Ansicht
Dokumentation

ABENCL_ABAP_DECFLOAT_DOC - CL ABAP DECFLOAT DOC

ABENCL_ABAP_DECFLOAT_DOC - CL ABAP DECFLOAT DOC

Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

System Class CL_ABAP_DECFLOAT

The system class CL_ABAP_DECFLOAT contains methods for handling decimal floating point numbers.

  • The methods READ_DECFLOAT34 and READ_DECFLOAT16 convert strings to decimal floating point numbers. The exceptions of these methods are more significant than those of a regular assignment. Furthermore, the methods return a return value that reveals information about the roundings performed.
  • The methods CONVERT_CURR_TO_DECFLOAT and CONVERT_DECFLOAT_TO_CURR convert currency amounts to decimal floating point numbers as specified by a currency key and vice versa.

Note

The formatting option CURRENCY of the WRITE TO and WRITE statements works like the method CONVERT_DECFLOAT_TO_CURR.






Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1244 Date: 20240420 Time: 111702     sap01-206 ( 25 ms )