Numbers

Table 1: Range of Numeric Types

Primitive Class Range (-) Range (+)
byte Byte -128 127
short Short -32,768 32,676
int Integer -2,147,483,648 2,147,483,647
long Long -9,223,372,036,854,775,808 9,223,372,036,854,775,807
float Float -1.40239846E-45 3.4028235E38
double Double -4.94065645841246544E-324 1.79769313486231E308

Table 2: Power Values and Terms

NameSymPower
yottaYx1024
zettaZx1021
exaEx1018
petaPx1015
teraTx1012
gigaGx109
megaMx106
kilokx103
one1x100
millimx10-3
microux10-6
nanonx10-9
picopx10-12
femtofx10-15
attoax10-18
zeptozx10-21
yoctoyx10-24

Note: 0.100 GB (up) ← 100.00 MB → (down) 100,000 kB

Table 3: GB as multiples of 1GB (1024 B)

GBMB
11,024
22,048
33,072
44,096
55,120
66,144
77,168
88,192
99,216
1010,240
2020,480
3030,720
4040,960
5051,200
6061,440
7071,680
8081,920
9092,160
100102,400

Table 4: Binary Numbers

2726252423222120Dec
00
11
102
113
1004
1015
1106
1117
10008
10019
101010
101111
110012
110113
111014
111115
1000016
10000032
100000064
10000000128
11111111255

Convert Binary:

Binary:
Decimal: 0