The JB Weld web site says: "When fully cured, J-B Weld is completely resistant to water, gasoline, and about every other petroleum product or automotive chemical." I guess the "about" is their exemption for Chem-Dip. At least when you are using Chem-Dip you have the float removed so you ar likely to notice the JB Weld has melted.
My one thought on using a float that has been repaired this way: The possible over-expansion may make it float a little higher. The added JB Weld may make it float a ittle lower. I suggest using a tramsparent tube to check the actual fuel level after installing the carburetor. You may find a need to set the float level off a bit one way or another to compensate for variation in the repaired float.