Thanks.
Actually, I just found out that if I have text field called "t1", I can simply use a FormCalc calculate directly off of the text field without having to convert it. For example, result = t1 * 5 will return a 100 if the text field "t1" contains the text "20".