下面是一段关于CEIL 和 FLOOR 的代码 DATA:a TYPE mseg-menge, b TYPE mseg-menge, c TYPE mseg-menge. a = '1.36'. b = '1.34'. c = a / b. c = CEIL( a / b ). WRITE:/,c. "输出 2.000 c = FLOOR( a / b ). WRITE:/,c. "输出 1.000…
FLOOR Round towards minus infinity. FLOOR(X) rounds the elements of X to the nearest integers towards minus infinity. CEIL Round towards plus infinity. CEIL(X) rounds the elements of X to the nearest integers towards infinity. FIX Round towards zero.…