Depending on what the Solvent is... Some like Lacquer Thinner, while good a dissolving Gum and Varnish, can do a Number on a lot of Plastics.
Regardless of the Cleaner, the Float, depending on its Composition, shouldn't be left too Long. BRP Carb Kits will provide all the Parts that need...