Crystal Reports for Rational Application Developer Designer Guide
Negate operator
Usage
[-(x)]
Multiplies the value inside the parentheses by -1.
Examples
-(-1)
Returns 1 since negative times negative equals positive.
-(1)
Returns –1 since negative times positive equals negative.
-(0-14)
Returns 14.
-({file.QTYONHND})
Returns 144 where {file.QTYONHND} = -144.
- (- (15-18) )
Returns –3 since 15 - 18 = -3, -(-3) = +3, -(+3) = -3.
Business Objects, an SAP company
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/
Product Documentation on the Web
http://support.businessobjects.com/documentation/