Jonas,You should be able to solder the float using and electric soldering iron and 50/50(tin/lead) solder wire. I once repaired a small split in a radiator this way and it still holds against the
water pressure.Make sure the float is air dried
before applying any kind of heat.You certainly don't want any fumes to ignite.