摘要: int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x) 将x转换到一个浮点数 complex(real [,imag ]) 创建一个复数 str(x) 将对象x转换为字符串 repr(x) ... 阅读全文
posted @ 2018-11-08 18:58 c++11 阅读(380) 评论(0) 推荐(0)