Float Object Cannot Be Interpreted As Integer