I am trying to separate a double into the integer and decimal parts
So for example, the number 24.4 should be separated into 24 and 4.
int integer =
You could do a String split(...). And then Integer parseInt(...) to get back the two integer components.