implement functionality to handle roman to roman and decimal to decimal issue