首页 > 代码库 > SAP (ABAP) 常用的数学函数

SAP (ABAP) 常用的数学函数

Function funcReturn value
absAbsolute value of the argument arg (绝对值)
signPlus/minus sign of the 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 number that is not smaller than the value of the argument arg.(向下取整)
floorLargest integer number that is not larger than the value of the argument arg.(向上取整)
truncValue of the integer part of the argument arg (整数部分)
fracValue of the decimal places of the argument arg (小数部分)