DATA TYPE DECIMALS 2.
DATA TYPE DECIMALS VALUE '-3.55'.
ABS).  WRITE:  'ABS: 'n.
SIGN)WRITE'SIGN: 'n.
CEIL)WRITE'CEIL: 'n.
FLOOR)WRITE'FLOOR:'n.
TRUNC)WRITE'TRUNC:'n.
FRAC)WRITE'FRAC: 'n.
output: 
ABS:               3.55
SIGN:              1.00-
CEIL:              3.00-
FLOOR:          4.00-
TRUNC:          3.00-
FRAC:             0.55-
unctionfuncReturn value
absAbsolute value of argument arg
signSign of argument arg: -1, if the value of arg is negative; 0, if the value of arg is 0; 1, if the value of arg is positive
ceilSmallest integer that is not less than the value of the argument arg is
floorLargest integer that is not greater than the value of the argument arg is
truncValue of the integer part of the argument arg
fracValue of the decimal places of the argument arg


Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP S/4 HANA Logistics Consultant
Contact : serkurumsal@yandex.com