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
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdDecimal Structure
TdDecimal Members