Just wrote atof function as example of book