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.
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 |
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 |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
OUTPUT | LIKE | rounded value |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
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 |