I'm not sure I understand why you convert from an object to a float then create a new object then convert back to a float