Convert argument to integer