By - superajPosted on 2013 年 5 月 19 日Posted in Web相关格式化科学计数的if (strpos($num'+') !== false){ $num = sprintf("%.2f", num'); }