vb.net data types

A, Numeric data types  

Integer

4 bytes

Variables are stored as 32-bit integer, ranging from -2147483.648 to 2147483.648

Long

8 bytes

Variables are stored as 64-bit integer, ranging from -9223372036854775.808 to 9223372036854775.807

Short

2 bytes

Variables are stored as 16-bit integer, the range from -32768 to 32767

Single

4 bytes

Variables are stored as 32-bit floating-point value type, range: -3.402823E38 negative number to -1.401298E-45;
a positive number 1.401298E-45 to 3.402823E38

Double

8 bytes

Variables are stored as 64-bit floating-point value type, range: -1.79769313486231E308 negative number to -4.94065645841247E-324;
positive number 4.94065645841247E-324 to 1.79769313486231E308

Decimal

12 bytes

No decimal point is an integer ranging from -79228162514264337593543950335 to 79228162514264337593543950335

 

 

Guess you like

Origin www.cnblogs.com/qq2806933146xiaobai/p/12322091.html