Data Types
array | Derived from System.Object Reference Type |
binary | Abbreviation Suffix - b or B |
bool (true or false) | System.Boolean (1 bit) |
byte (0 to 255) | Positive Integer, System.Byte 1 byte (8 bits) |
char (0 to 65,536 different characters) | System.Char 2 bytes (16 bits) u 000 to u FFFF |
decimal (1 E -28 to 7.9 E 28) | Exact Precision Floating Point, System.Decimal 16 bytes (128 bits) 29 significant digits Abbreviation Suffix - m or M (D in VB.Net) Currency in VBA |
double (-1.797 E 308 to 1.797 E 308) | Double Precision Floating Point, System.Double 8 bytes (64 bits) 17 significant digits Abbreviation Suffix - d or D (R in VB.Net) |
float (-3.402 E 38 to 3.4.02 E 38) | Single Precision Floating Point, System.Single 4 bytes (32 bits) 8 significant digits Abbreviation Suffix - f or F |
int (-2,147,483,648 to 2,147,483,647) | Integer, System.Int32 4 bytes (32 bits) |
long (-9.2 E 18 to 9.2 E 18) | Integer, Long, System.Int64 8 bytes (64 bits) Abbreviation Suffix - l or L |
object | System.Object Variant in VBA Reference Type |
sbyte (-128 to 127) | Integer, System.SByte 1 byte (8 bits) |
short (-32,768 to 32,767) | Integer, Short, System.Int16 2 bytes (16 bits) Integer in VBA |
single = float | |
string | System.String Reference Type |
uint (0 to 4,294,967,295) | Positive Integer, System.UInt32 4 bytes (32 bits) Abbreviation Suffix - u or U |
ulong (0 to 1.84 E 19) | Positive Integer, System.UInt64 8 bytes (64 bits) Abbreviation Suffix - ul or UL |
ushort (0 to 65,535) | Positive Integer, System.UInt16 2 bytes (16 bits) |
n/a (Jan 1 100 to Dec 31 9999) | Date, System.DateTime 8 bytes (64 bits) |
n/a | System.Tuple Reference Type |
array Derived from System.Object Reference Type |
binary Abbreviation Suffix - b or B |
bool (true or false) System.Boolean (1 bit) |
byte (0 to 255) Positive Integer, System.Byte 1 byte (8 bits) |
char (0 to 65,536 different characters) System.Char 2 bytes (16 bits) u 000 to u FFFF |
decimal (1 E -28 to 7.9 E 28) Exact Precision Floating Point, System.Decimal 16 bytes (128 bits) 29 significant digits Abbreviation Suffix - m or M (D in VB.Net) Currency in VBA |
double (-1.797 E 308 to 1.797 E 308) Double Precision Floating Point, System.Double 8 bytes (64 bits) 17 significant digits Abbreviation Suffix - d or D (R in VB.Net) |
float (-3.402 E 38 to 3.4.02 E 38) Single Precision Floating Point, System.Single 4 bytes (32 bits) 8 significant digits Abbreviation Suffix - f or F |
int (-2,147,483,648 to 2,147,483,647) Integer, System.Int32 4 bytes (32 bits) |
long (-9.2 E 18 to 9.2 E 18) Integer, Long, System.Int64 8 bytes (64 bits) Abbreviation Suffix - l or L |
object System.Object Variant in VBA Reference Type |
sbyte (-128 to 127) Integer, System.SByte 1 byte (8 bits) |
short (-32,768 to 32,767) Integer, Short, System.Int16 2 bytes (16 bits) Integer in VBA |
single = float |
string System.String Reference Type |
uint (0 to 4,294,967,295) Positive Integer, System.UInt32 4 bytes (32 bits) Abbreviation Suffix - u or U |
ulong (0 to 1.84 E 19) Positive Integer, System.UInt64 8 bytes (64 bits) Abbreviation Suffix - ul or UL |
ushort (0 to 65,535) Positive Integer, System.UInt16 2 bytes (16 bits) |
n/a (Jan 1 100 to Dec 31 9999) Date, System.DateTime 8 bytes (64 bits) |
n/a System.Tuple Reference Type |
Abbreviations
alongside the "var" keyword
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopNext