Any fixed point number? Or a fixed point number?
We won't do homework, but we could give some hints...
I'd have a look at fixed point to integer cast... Then split the integer ("AND" and "rotate") and use divide to get the fractional part from the floating part.