A new float is cheap. Part # 295 500 438.
But you could see if you can locate the leak on the float itself. Drain by poking a hole in it. Evacuate anything inside. Then "plastic weld" it shut with a soldering iron (far from the gas tank). Depends of the plastic itself is not brittle.