Crystal Reports for Rational Application Developer 设计员指南
Sgn (number)
说明
返回给定数字的符号。
参数
number 是要求得其符号的值。
返回
返回 1、0 或 -1
操作
Sgn 返回给定数字的符号:如果 number > 0,则返回 1;如果 number 是 0,则返回 0;如果 number < 0,则返回 -1。
示例
Sgn (-10)
返回 -1。
Sgn (0)
返回 0。
Sgn (10)
返回 1。
Business Objects,SAP 子公司
http://www.china.businessobjects.com/
支持服务
http://www.china.businessobjects.com/support/
Web 上的产品文档
http://support.businessobjects.com/documentation/