Yeah for something like years you can leave it as 18.1 or if you want to be pedantic you can find what 0.1 of 12 months is and write 18 years and the number of months as the answer. I was suggesting for other questions, they require a definite integer, so we can't give OP a certain answer...