Send feedback on this topic.
Teradata.Client.Provider
Division Operator (TdIntervalYear)



Teradata.Client.Provider Namespace > TdIntervalYear Structure : Division Operator
A TdIntervalYear.
A divisor.
A TdIntervalYear is divided by an integer value.
Syntax
'Declaration
 
Public Operator /( _
   ByVal interval As TdIntervalYear, _
   ByVal value As Integer _
) As TdIntervalYear
'Usage
 
public TdIntervalYear operator /( 
   TdIntervalYear interval,
   int value
)
public:
TdIntervalYear operator /( 
   TdIntervalYear interval,
   int value
)

Parameters

interval
A TdIntervalYear.
value
A divisor.

Return Value

A new TdIntervalYear as the result of dividing a TdIntervalYear and an integer value.
Exceptions
ExceptionDescription
The value divisor cannot be 0.
Remarks

If interval is TdIntervalYear.Null a Null will be returned.

The returned TdIntervalYear will contain a precision which matches the precision of the interval parameter.

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

TdIntervalYear Structure
TdIntervalYear Members