首页 > 其他 > 详细

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

时间:2014-03-14 15:09:17      阅读:2163      评论:0      收藏:0      [点我收藏+]

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

 

Functionfunc Return value
abs Absolute value of argument arg                                                                                   
sign Sign 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
ceil Smallest integer that is not less than the value of the argument arg is
floor Largest integer that is not greater than the value of the argument arg is
trunc Value of the integer part of the argument arg
frac Value of the decimal places of the argument arg
 

 

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

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

原文:http://blog.csdn.net/forever_crazy/article/details/21228947

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!