提交 9f4552de 编写于 作者: 蔡祥熠

Merge branch 'hotfix/statistician_toFloat' into 'master'

Merge of hotfix/statistician_toFloat 修复统计中数字的报错 to master

See merge request o2oa/o2oa!1127

(cherry picked from commit 7c90b5c7)

e38e900a 修复统计中数字的报错
上级 f986735a
......@@ -423,6 +423,7 @@ MWF.xApplication.query.Query.Statistician.GroupStat = new Class({
this.loadChartBar();
},
toFloat: function(value){
if(o2.typeOf(value) === "number")return value.toFloat();
if (value.substr(0,1)==="") value = value.substr(1, value.length);
value = value.replace(/,/g, "");
value = value.replace(/\s/g, "");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册