Domanda di colloquio di Amdocs

He asked me to write a code to convert a string to float integer.