Pergunta de entrevista da empresa Intuit

Write a function to convert integer to text. Like 44556 should be Forty four thousand five hundred fifty six