Int32 Data Type

Holds signed 32-bit (4-byte) integer values in the range −2,147,483,648 – +2,147,483,647.


Default value
When you declare a variable of type Int32 and do not initialize it,, its default value is zero (0).
Int32 widens to Int, Int64, Int128, Real32, Real64, Real, or Real128 without risk of overflow.
Type characters
Int32 has no type character.

Shared methods and properties

Int32.Bits As Int
Returns the number of available bits. This is always 32.
Int32.Default As Int32
Returns the default value, 0.
Int32.Max As Int32
Returns the maximum positive value.
Int32.Min As Int32
Returns the minimum negative value.
Int32.Parse(str As String, Optional #fmt As Format) As Int32
Tries to parse a string that shows as an integer.
If #fmt is not given or is #Null, then it tries to parse str as a decimal (base-10) integer. Or you can be explicit with Format.#Base10.


Dim foo As Int32

See also