>But will VB automatically know that the value contained in the string is a floating point number rather than an integer?
Without any problem!
This is the kind of things that you can test in the "Immediate Window" (from VB, press CTRL-G to open it and type < cint("123.456")>>).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com