Extract the integer and decimal of floating