why not just do something like this
GPA = (Val(text1) + Val(text2) + Val(text3) + Val(text4)) / 4