float val = 3.5f;
string strVal = val.ToString();
System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(@"\\.");
string[] exploded = r.Split(strVal);
In this case, I would use the first example. Since the 2nd is overkill for this sample. Just reminding that Regular Expression is handy!
And yes, C# is strongly typed, but everything derives from object, and object provides us with a virtual ToString method, which all intrinsic types overload.