pull/117/merge
pengbaozi 2023-02-26 16:20:05 +08:00 committed by GitHub
commit b93f4ee558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ Python 中基本数据类型转换的方法有下面几个。
![](http://twowaterimage.oss-cn-beijing.aliyuncs.com/2019-08-31-064811.png)
但这并不是意味着浮点数不能转化为整数,而是小数形式的字符串不能强转为字符串
但这并不是意味着浮点数不能转化为整数,而是小数形式的字符串不能强转为整数
浮点数还是可以通过 `int()` 函数转换的。