Send feedback on this topic.
Teradata.Client.Provider
ToUInt32 Method (TdNumber)



Teradata.Client.Provider Namespace > TdNumber Structure : ToUInt32 Method
The TdNumber that is to be converted to a 32-bit unsigned integer.
Converts the value of the specfied TdNumber into a UInt32.
Syntax
'Declaration
 
Public Shared Function ToUInt32( _
   ByVal input As TdNumber _
) As UInteger
'Usage
 
Dim input As TdNumber
Dim value As UInteger
 
value = TdNumber.ToUInt32(input)
public static uint ToUInt32( 
   TdNumber input
)
public:
static uint ToUInt32( 
   TdNumber input
) 

Parameters

input
The TdNumber that is to be converted to a 32-bit unsigned integer.

Return Value

A 32-bit unsigned integer value that is equivalent to the specified TdNumber is returned.
Exceptions
ExceptionDescription
The value of input is Null.
The TdNumber is too big for an UInt32.
Remarks
When a TdNumber that has a scale greater than 0 is converted to a 32-bit unsigned integer the fractional part of the number will be truncated.
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

TdNumber Structure
TdNumber Members