Get Example source ABAP code based on a different SAP table
VERSION 5 IN • CL_ABAP_DECFLOAT ABAP_CLASS
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.
Latest notes: NON_V5_HINTS The formatting option CURRENCY>> of the WRITE TO>> and WRITE >> statements works like the method CONVERT_DECFLOAT_TO_CURR>. ABAP_HINT_END