int value;

sprintf(value, "%i", strText);