Roundof
this simple peace of code help you rounof value near place of values
REPORT Zround_off.
DATA: gv_ekpo type ekpo.
gv_ekpo-netwr = '123.623'.
gv_ekpo-netwr = round( val = gv_ekpo-netwr dec = 0 ).
WRITE: gv_ekpo-netwr.
REPORT Zround_off.
DATA: gv_ekpo type ekpo.
gv_ekpo-netwr = '123.623'.
gv_ekpo-netwr = round( val = gv_ekpo-netwr dec = 0 ).
WRITE: gv_ekpo-netwr.
Comments
Post a Comment