一般形式:
    (类型名)(表达式/常量/变量)
    例如:double(a) 将a转换为double型
    注意:①不管a原来是什么类型,此时,临时将其转换成double型
    ②(int)(x+y)将x+y的值转换为整型
    image.png