Update Type_conversion.md

pull/117/head
pengbaozi 2023-02-26 16:19:24 +08:00 committed by GitHub
parent 39b1d5bad7
commit 6f2ca1d5f3
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()` 函数转换的。