I've got a double:
double
double d = 25.342;
How can I convert it to 25?
25
If it were -12.46 I'd like to get -13.
-12.46
-13
int i = (int)floor(25.342);