Garage floors usually have a gentle slope towards the garage door. In my garage I have a thin piece of wood on the floor positioned so that when the front wheel just rolls over it the car is in the correct position and the garage door will close. I also don't need to apply the parking brake. I realise that's no help for more recent cars with electric parking brakes.