Convert some values to integer