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



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

Parameters

input
The TdDecimal 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 TdDecimal is returned.
Exceptions
ExceptionDescription
The value is the TdDecimal is Null.
The TdDecimal is too big for an UInt32
Remarks
When a TdDecimal that has a TdDecimal.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 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDecimal Structure
TdDecimal Members