转换方向从低到高,但有五条规则必须满足。
byte,short,char → int → long → float → double
int i = 128; byte b = (byte)i;
(int)23.7 == 23
(int)-45.89f == -45