Decimal Explicit Conversion (Decimal to UInt32)
Defines an explicit conversion of a Decimal to a 32-bit unsigned integer.
This API is not CLS-compliant. The CLS-compliant alternative is ToInt64. Namespace: System
Assembly: mscorlib (in mscorlib.dll)
This operator supports the explicit conversion of a Decimal to a UInt32. The syntax for such explicit conversions is language-dependent, and individual language compilers can provide different implementations and return different results. The example illustrates the different return values when you explicitly convert a Decimal value to a UInt32 value by using C# and Visual Basic. To perform a conversion that is independent of language, you can call the ToUInt32 or the Convert.ToUInt32(Decimal) method.