Cast to Float not float (thanks java)