Data Types

Informs the compiler how much memory to allocate for a variable.

char 

short

int

long

float

double

bool

void

Single character 

Short integer

Integer whole number

Long integer

Floating point number correct to 6 decimal places

Floating point number correct to 10 decimal places

Boolean value of TRUE (1) or FALSE (0)

No value returned

D 

65535

4294967295

4294967295

17.031963

12.0270140242

True or 1, False or 0

--

1 Byte 

2 Bytes

4 Bytes

4 Bytes

4 Bytes

8 Bytes

1 Byte

--

0-255 

0-65535

4294967295

4294967295

+/-3.4e+/-38

+/-1.7e+/-308

true or false

--

Leave a Reply