Convert non-period decimal points to periods