Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Numeric Calculations →  System Classes for Numbers 

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 normal 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 (and back) as specified by a currency key.

Other versions: 7.31 | 7.40 | 7.54