Showing posts with label how round value with decimal. Show all posts
ABAP how to round number
6:57 PM
DATA: mark_VALUEUNROUNDED type i,
mark_INTVAL type i.
mark_VALUEUNROUNDED = '4.01' .
mark_INTVAL = CEIL(
mark_VALUEUNROUNDED ).
WRITE:/ 'THIS IS AN OUTPUT ROUNDED to the nearest integer = ' , mark_INTVAL.
mark_INTVAL type i.
mark_VALUEUNROUNDED = '4.01' .
mark_INTVAL = CEIL(
mark_VALUEUNROUNDED ).
WRITE:/ 'THIS IS AN OUTPUT ROUNDED to the nearest integer = ' , mark_INTVAL.