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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDecimal Structure
TdDecimal Members