Upon seeing this topic I recalled something in my snippets file (the text file of pieces of stolen code I have collected over the years)...
It went something like this:
Call "MyFloat = "+MyString
I mucked around with it, as I'm not quite smart enough to understand it and came up with this:
Call format ["
Variable = "+
string ]
Which will make
Variable the number version of your string. It works with floats (as far as I could tell), and you can rename (or retype is more accurate I think) an existing variable using that code.
As I said, I stole this off some smart guy (can't remember who I'm afraid) so full credit to them, rather than to me