Send feedback on this topic.
Teradata.Client.Provider
Divide Method (TdIntervalMonth)



Teradata.Client.Provider Namespace > TdIntervalMonth Structure : Divide Method
A TdIntervalMonth.
A divisor.
A TdIntervalMonth is divided by an integer value.
Syntax
'Declaration
 
Public Shared Function Divide( _
   ByVal interval As TdIntervalMonth, _
   ByVal value As Integer _
) As TdIntervalMonth
'Usage
 
Dim interval As TdIntervalMonth
Dim value As Integer
Dim value As TdIntervalMonth
 
value = TdIntervalMonth.Divide(interval, value)
public static TdIntervalMonth Divide( 
   TdIntervalMonth interval,
   int value
)
public:
static TdIntervalMonth Divide( 
   TdIntervalMonth interval,
   int value
) 

Parameters

interval
A TdIntervalMonth.
value
A divisor.

Return Value

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

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

The returned TdIntervalMonth 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

TdIntervalMonth Structure
TdIntervalMonth Members