Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Article/PythonBasis/python2/Type_conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Python 中基本数据类型转换的方法有下面几个。

![](http://twowaterimage.oss-cn-beijing.aliyuncs.com/2019-08-31-064811.png)

但这并不是意味着浮点数不能转化为整数,而是小数形式的字符串不能强转为字符串
但这并不是意味着浮点数不能转化为整数,而是小数形式的字符串不能强转为整数

浮点数还是可以通过 `int()` 函数转换的。

Expand Down