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).
Automatic conversions
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.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 #format As Format) As Int32
Tries to parse a string that shows as an integer.
If #format is not given or is #Null, then it tries to parse str as a decimal (base-10) integer. Or you can make it clear with Format.Base10.
Int32.Size As Int
Returns the number of available bytes. This is always 4.


Dim foo As Int32

See also