Made the shift return a float