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



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

Parameters

value
The TdNumber.

Return Value

A TdNumber containing the result.
Remarks
If value is TdNumber.Null, the result will be TdNumber.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

TdNumber Structure
TdNumber Members