Send feedback on this topic.
Teradata.Client.Provider
Unary Negation Operator (TdDecimal)



Teradata.Client.Provider Namespace > TdDecimal Structure : Unary Negation Operator
The TdDecimal.
Calculates the negation of the TdDecimal operand.
Syntax
'Declaration
 
Public Operator -( _
   ByVal input As TdDecimal _
) As TdDecimal
'Usage
 
public TdDecimal operator -( 
   TdDecimal input
)
public:
TdDecimal operator -( 
   TdDecimal input
)

Parameters

input
The TdDecimal.

Return Value

A TdDecimal containing the result.
Remarks
If input is TdDecimal.Null, the result will be TdDecimal.Null; otherwise the result will have the opposite sign.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdDecimal Structure
TdDecimal Members