Converts this instance of Decimal to a UInt32.
[Visual Basic] Overloads Overridable Public Function ToUInt32() As UInt32 [C#] public virtual uint ToUInt32(); [C++] public: virtual unsigned int ToUInt32(); [JScript] public function ToUInt32() : UInt32;
The result's of converting the argument to an unsigned integer.
Exception Type | Condition |
---|---|
OverflowException | is thrown if the resulting integer value is less than UInt32.MinValue or greater than UInt32.MaxValue. |
The ToUInt32method converts a Decimal value into a UInt32 and returns it.
The Decimal value is rounded towards zero to the nearest integer value, and the result of this operation is returned as an unsigned integer.
Decimal Structure | Decimal Members | System Namespace | Decimal.ToUInt32 Overload List