dilemparkan dari float ke long c

float a = 1.0;
long b = (long)a // variable b now equals variable a which has been cast to long
Zany Zebra