transform fraction to recurring decimal format