How do you convert a decimal into a fraction where the decimal has an integer before the decimal? Example: 8.546. Would you simply do 8546/1000?

(My profile might say Highschool level but I clicked by accident and I don't know how to change it.)