네이키드에르마
2020. 9. 1. 13:01
2020. 9. 1. 13:01
자료형 |
형식 |
범위 |
크기 |
sbyte |
SByte |
-128 ~ 127 |
8bit (= 1byte) |
byte |
Byte |
0~255 |
8bit (= 1byte) |
short |
Int16 |
-32,768 ~ 32,767 |
16bit (= 2byte) |
ushort |
UInt16 |
0 ~ 65,535 |
16bit (= 2byte) |
int |
Int32 |
-2,147,483,648 ~ 2,147,483,647 |
32bit (= 4byte) |
uint |
UInt32 |
0 ~ 4,294,967,295 |
32bit (= 4byte) |
long |
Int64 |
-9,223,372,036,854,775,808 ~ 9,223,372,036,854,775,807 |
64bit (= 8byte) |
ulong |
UInt64 |
0 ~ 18,446,744,073,709,551,615 |
64bit (= 8byte) |
float |
Single |
+-1.5e-45 ~ +-3.4e38 |
32bit |
double |
Double |
+-5.0e-324 ~ +-1.7e308 |
64bit |
decimal |
Decimal |
+-1.0 * 10^-28 ~ +-7.9 * 10^28 |
128bit |