Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing Internal Data →  Numerical Calculations 

Numerical Functions

Numerical functions belong to the predefined functions.The main argument of a numerical function must represent a numerical value. The data type of the return value is determined either by the argument of the function (overloaded functions), or by the function.

Outside of an arithmetic expression, the main argument of a numerical function must be a single, numeric data object. Within an arithmetic expression, the following are possible as main arguments of a numerical function:

The numerical functions are divided into:

Other versions: 7.31 | 7.40 | 7.54

Treatable Exceptions

The treatable exceptions that can occur during the computation of a numerical function are subclasses of the CX_SY_ARITHMETIC_ERROR and CX_SY_CONVERSION_ERROR classes.

Continue

abs, sign, ceil, floor, trunc,

nmax, nmin - Numerical Extremum Functions

acos, sin, tanh, exp, log, sqrt

round, rescale - Rounding Functions

Examples of numerical functions