Check if arg is numeric in margin arguments