Convert s to integer