CL_ABAP_MATH Class


 

CL_ABAP_MATH – class provides some methods that can be useful when it is necessary to get the number decimal points in a floating point number.

In Tx- SE24 . Test the class.

Execute the method GET_SCALE which returns the number of decimal places in a floating point.

 

 Execute the method GET_NUMBER_OF_DIGITS which returns the number of DIGITS  in a floating point number.


 

 

Leave a Reply