Umm...well technically you just do.
It either comes with it or it doesn't.
Most of the time, in math books or an equation, the decimal comes with the fraction.
But to put a decimal in a fraction.
Ex:
.6/7
That is the only way!
I hope I helped answer your question.