Switch between % and #