Cast numeric values to integer