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.


 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s