casting explicite
// Explicit casting is manually casting a variable to another type
double x = 1.1;
int y = x + 2; // This won't work, because x is a double and y an integer.
// So instead do it like this:
double x = 1.1;
int y = (int)x + 2;
Jesse Swart