整型

类型 数值范围 占字节数 格式
shortint -128(-2^7) ~ 127(2^7-1) 1 带符号8位
byte 0 ~ 255(2^8-1) 1 无符号8位
smallint -32768(-2^15) ~ 32767(2^15-1) 2 带符号16位
word 0 ~ 65535(2^16-1) 2 无符号16位
integer smallint或longint 2或4 带符号16/32位
cardinal longword 4 无符号32位
longint -2147483648(-2^31) ~ 2147483647(2^31-1) 4 带符号32位
longword 0 ~ 4294967295(2^32-1) 4 无符号32位
int64 -9223372036854775808(-2^63) ~ 9223372036854775807(2^63-1) 8 带符号64位
qword 0 ~ 18446744073709551615(2^64-1) 8 无符号64位
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值