UInteger32 Summary The wrapper class for the unsigned int primitive type. Description The System.UInteger32 class represents 32-bit unsigned integers. The System.UInteger32 class is the wrapper class for the unsigned int primitive type. The range for 32-bit unsigned integers is [ 0, 4294967295 ] (inclusive). Examples Instantiation 123import System; System.UInteger32 x = new System.UInteger32(100); Auto-boxing 123import System; System.UInteger32 x = 100; Primitives Only 12unsigned int x = 1;unsigned int y = 2; Methods compareCompares the UInteger32 object to another UInteger32 object. fromStringConverts a string to an unsigned int value. fromStringOrConverts a string to its equivalent unsigned int value or the provided default value if the conversion fails. fromStringOrThrowConverts a string to a valid unsigned int value or throws an exception if the value cannot be converted. isEvenChecks if the number is an even number. isOddChecks if the number is an odd number. MAX_VALUERepresents the maximum value for the unsigned int type. MIN_VALUERepresents the minimum value for the unsigned int type. toBaseReturns a string representation of the integer value using the specified base. toBinaryReturns the binary (base 2) value of the integer. toDecimalReturns the decimal (base 10) value of the integer. toExponentialFormats the integer value using exponential notation. toExternalConverts the unsigned int value to its equivalent external value. toFixedFormats the integer value using fixed-point notation. toHexReturns the hexadecimal (base 16) value of the integer. toPrecisionFormats the integer value as a string to the given precision. toStringConverts the unsigned int value to an equivalent string value. UInteger32 (Constructor)Constructs a System.UInteger32 object. valueOfReturns the primitive unsigned int value wrapped by the System.UInteger32 object. Share HTML | BBCode | Direct Link