提交 c9200090 编写于 作者: 杜庆泉's avatar 杜庆泉

Update data-type.md

上级 ec00c692
......@@ -326,7 +326,7 @@ i.toDouble() // 转换为 Double 类型
let a: Int = 1
let a1 = Number.from(a) // Int转number
let b: Float = 3.14
let b: Float = 3.14.toFloat()
let b1 = Number.from(b)
let c: Double = 3.1414926
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册