Crystal Reports for Rational Application Developer 設計工具指南
Sgn (數字)
說明
傳回指定數值的正負號。
引數
數字是您想要知道其符號的值。
傳回
傳回 1、0 或 -1
動作
Sgn 傳回指定數字的符號:如果數字 > 0,傳回 1;如果數字為 0,傳回 0;如果數字 < 0,傳回 -1。
範例
Sgn (-10)
傳回 -1。
Sgn (0)
傳回 0。
Sgn (10)
傳回 1。
Business Objects, SAP 子公司
http://www.taiwan.businessobjects.com/
支援服務
http://www.taiwan.businessobjects.com/support/
產品說明文件網站
http://support.businessobjects.com/documentation/