Microsoft Interview Question

Convert a string of digits into a float.