The Radix type is useful when working with number bases other than decimal.
The radix defines the base of the number system being used. For example, a
binary system has a radix of 2, a decimal system has a radix of 10, and a
hexadecimal system has a radix of 16. The Radix type can be used to
ensure that a given radix value is within the valid range of 2 to 36.
Valid radix values (from
2
to36
).Remarks
The
Radix
type is useful when working with number bases other than decimal. The radix defines the base of the number system being used. For example, a binary system has a radix of2
, a decimal system has a radix of10
, and a hexadecimal system has a radix of16
. TheRadix
type can be used to ensure that a given radix value is within the valid range of2
to36
.Example
See
Range