float num = 1.2f;


뭐 대충 변수 라고 하고


int(num) 이랑 (int)num 이랑 형변환 같은 거?


c책에선 (int)num 으로 배웠는데 어떤 사람은 전자로 쓰더라고 뭔 차이?