0% found this document useful (0 votes)
9 views1 page

Dat Type in VB

EDP

Uploaded by

Desta Dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Dat Type in VB

EDP

Uploaded by

Desta Dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Table 3.

Data Description of data stored Memory storage


Type in bytes

Text Data Storage


String Alphanumeric data such as letters of the alphabet, digits that are not treated as Size varies
numbers, and other special characters.
Char Stores single Unicode characters (supports any international language). 2

Numeric Data Storage – Fixed Point


Decimal Decimal numeric values – often used to store dollars/cents. 16

Numeric Data Storage – Floating Point


Double Double-precision numeric values with 14 digits of accuracy. 8
Single Single-precision numeric values with 6 digits of accuracy. 4

Numeric Data Storage – Whole Numbers (no decimal point)


Short Whole numeric values in the range -32,768 to 32,767. 2
Integer Whole numeric values in the range -2,147,483,648 to +2,147,483,647. 4
Long Whole numeric values that are very, very large. 8

Special Data Types


Boolean True or False. 2
Byte Stores binary data of values 0 to 255 – can be used to store ASCII character code 1
values.
Date Stores dates in the form 1/1/0001 to 12/31/9999. 8
Object Stores data of any type. 4

You might also like