Make rating return float.