convert to amd string