unary-minus
Returns the negation of the signed input value.

Languages
Built-in, C++, C#, Java.
Parameters
Name | Type | Description |
---|---|---|
value | xs:decimal | The input value. |
Example
If the input value is 3, the function returns -3. If the input value is -3, the function returns 3.