Atoi()

From Valve Developer Community

This function, its name short for "ascii to integer," parses a string argument into its integer representation.

Usage

int myInt = atoi( "42" );