Menu

SAP Function Module ROUND

Rounding to spec. no. of dec. place (round up, round down, comm. rounding)

The Function Module ROUND (Rounding to spec. no. of dec. place (round up, round down, comm. rounding)) is a standard Function Module in SAP ERP and is part of the function group SCV0 within the package SZME.

Technical Information

Function Module ROUND
Short Text Rounding to spec. no. of dec. place (round up, round down, comm. rounding)
Function Group SCV0
Package SZME
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DECIMALS LIKE 0 Number decimal places, to which rounding is to be carried out
INPUT LIKE value to be rounded
SIGN LIKE SPACE Flag for rounding up, rounding down, commercial roundoff

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
OUTPUT LIKE rounded value

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INPUT_INVALID value to be rounded is not a number
OVERFLOW Field overflow
TYPE_INVALID Output value is not a number