transform between roman and int