<p>例如:“<span style="font-family:Times New Roman;">12.34</span><span style="font-family:宋体;">“ </span> 返回<span style="font-family:Times New Roman;">12.34</span></p><p> “<span style="font-family:Times New Roman;">-123.34</span><span style="font-family:宋体;">“ 返回</span><span style="font-family:Times New Roman;">-123.34</span></p><p>函数原型:<span style="font-family:Times New Roman;">double my_atof(char *str)</span></p><p>{}</p>