Send feedback on this topic.
Teradata.Client.Provider
Negate Method (TdDecimal)



Teradata.Client.Provider Namespace > TdDecimal Structure : Negate Method
The TdDecimal.
Calculates the negation of the TdDecimal operand.
Syntax
'Declaration
 
Public Shared Function Negate( _
   ByVal input As TdDecimal _
) As TdDecimal
'Usage
 
Dim input As TdDecimal
Dim value As TdDecimal
 
value = TdDecimal.Negate(input)
public static TdDecimal Negate( 
   TdDecimal input
)
public:
static TdDecimal Negate( 
   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