If arg is an integer value, returns arg, otherwise converts arg to integer by truncation and returns the converted value.