Converting from text to integer

How can I convert a value saved in a text field to an integer. Eg. the value of the text field is 23000 and I would like to convert it to an integer in order to use it as an argument to call a report…

evaluate(IntVar,Textfield);

Thx [:)]