Integer Value Type

Overview

The Integer value type represents an integral 32-bit number.

For more information refer to the Int32 Structure topic in MSDN.

Definition

An Integer value type is defined in the following manner:

[ws][sign][integral-digits[,]]integral-digits[ws]
Item Behaviour Description
ws Optional White space.
sign Optional Minus sign indicating a negative Integer value.
integral-digits Required A series of digits ranging from 0 to 9. Runs of integral-digits can be partitioned by a group-separator symbol.
, Optional A culture-specific thousands separator symbol.

Predefined values

The following is a list of predefined Integer values:

Default value 0
Minimum value -2,147,483,648
Maximum value 2,147,483,647

Configuration

An Integer attribute value configuration has the following format:

<exampleElement exampleAttribute="123,000" />

For more information refer to the Int32.Parse Method topic in MSDN.

Is this article helpful for you?