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



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

Parameters

interval
A TdIntervalDayToSecond.
value
A divisor.

Return Value

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

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

The returned TdIntervalDayToSecond will contain a precision and scale which matches the precision and scale 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

TdIntervalDayToSecond Structure
TdIntervalDayToSecond Members