FactSet interview question

Code the itoa() function.