我有这个PHP代码:$float";$float=floatval($float);//Withoutthislinenumber_formatthrowsanotice"Anonwellformednumericvalueencountered"/(float)$floatleadstothesameoutput$val=number_format($float,2,'.',',');echo"$float";?>为什么返回1?别这样。而且:是的,将1,99转换为1,99是有意义的;-)谢谢指教... 最佳答案 问题是,PHP无法