一、数据类型互转函数 二、type函数查看类型 转换目的内置函数查看变量类型type() 三、字符串和数字 转换目的内置函数string转intint()string转floatfloat()int转stringstr()float转stringstr() 四、字符串和布尔 转换目的内置函数string转boolean无boolean转stringstr() 五、数字和布尔 转换目的内置函数number转booleanint()boolean转numberbool()