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



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

Parameters

interval
A TdIntervalHour.
value
A divisor.

Return Value

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

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

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

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalHour Structure
TdIntervalHour Members