Hmm, this is a breddy simple one, I'll use your provided number as an example.

you immediately can separate the whole numbers to make for 0.5, which is five tenths, or 5/10, which can be simplified to one half, and if you want a mixed number you stop there, giving you

but you can multiply your whole number by the denominator (bottom part), and recieve

these two are identical numbers, just written differently
hopefully I helped :DDDD