#
Classes for Mathematical Operations

##
General operations

The class CL_ABAP_MATH can be used for general mathematical operations such as specific decimal rounding.

##
Random numbers

The class CL_ABAP_RANDOM calls the pseudo random number generator "Mersenne Twister" for different numeric types.

For the one-dimensional case, the following special classes generate random numbers for the different numeric types:

- CL_ABAP_RANDOM_INT for type
**i**

- CL_ABAP_RANDOM_FLOAT for type
**f**

- CL_ABAP_RANDOM_PACKED for type
**p**

- CL_ABAP_RANDOM_PACKED_DECn with n = 1 to 14 for type
**p** with n decimal places.

####
This translation does not reflect the current version of the documentation.