From the NannyMUD documentation

LAST CHANGE

2000-12-14

FUNCTION


NAME

        atoi - Ascii to int.

SYNTAX

	int atoi(string s)

DESCRIPTION

	Will convert the string s to an int. 

EXAMPLE

	atoi("42") 		- will return 42
	atoi("4711foobar69") 	- will return 4711
	atoi("gazonk") 		- will return 0