This toint(s) function will convert the string s into an integer.
#include <string> var a:="234"; var c:=toint(a);