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



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

Parameters

interval
A TdIntervalHourToSecond.
value
A divisor.

Return Value

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

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

The returned TdIntervalHourToSecond will contain a precision and scale which matches the precision and scale of the interval parameter.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalHourToSecond Structure
TdIntervalHourToSecond Members