UInt32 Data Type

Holds unsigned 32-bit (4-byte) integer values in the range 0–4,294,967,295.


Default value
When you declare a variable of type UInt32 and leave it uninitialized,, its value defaults to zero (0).
Because UInt32 is an unsigned type, when you use the unary minus (-) operator on an expression of this type, the value is first converted to Int64 then negated.
The UInt32 data type widens to UInt, Int64, UInt64, Int128, UInt128, Real32, Real64, Real, or Real128 without any risk of overflow.
Type characters
UInt32 has no type characters.

Shared methods and properties

UInt32.Bits As UInt
Returns the number of available bits. This is always 32.
UInt32.Max As UInt32
Returns the maximum positive value.
UInt32.Min As UInt32
Returns the minimum value. This is always zero (0)


Dim foo As UInt32

See also