This commit is contained in:
2020-02-02 15:33:37 +08:00
parent ab4cc0210f
commit 6567dea313
6 changed files with 0 additions and 1 deletions

16
kotlin/kotlin.md Normal file
View File

@@ -0,0 +1,16 @@
# 文件后缀
*.kt
# 基础类型
### 数字
|类型|大小 字节数|最大值|最小值|
|-|-|-|-|
|byte|8|-128|127|
|shot|16|-32768|32767|
|int|32|-2^31^|2^31^-1|
|long|64|-2^63^|2^63^-1|
所有未超过int大小的类性都判断为int 超过了为long
想设置为long 在数字后面加大写 L
### 浮点数
float double
默认double
如果为float 后面加大写F