您的位置:首页 > 其它

SAP ABAP 数字操作的abap语句,语法abs, sign, ceil, floor, trunc, frac - Numerical Functions

2014-03-14 11:05 916 查看
abs, sign, ceil, floor, trunc, frac - Numerical Functions

The following table shows the general numerical functions for a single unnamed argument with any numerical data type. These functions are overloaded with the effect that the return value can have different numerical types

abs, sign, ceil, floor, trunc, frac

FunctionfuncReturn 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: