Browse Source
Merge pull request #1343 from 98rahul/dev
fix: removed extra text were appeared while selecting a whole column…
pull/1389/head
Dushusir
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
src/global/count.js
|
|
@ -59,16 +59,16 @@ export function countfunc() { |
|
|
|
|
|
|
|
//处理成亿万格式
|
|
|
|
if (isFinite(max) || isFinite(min)) { |
|
|
|
ret += "<span>"+locale_formula.sum+":" + update("w", sum) + "</span>"; |
|
|
|
ret += "<span>"+locale_formula.average+":" + update("w", Math.round(sum / count * 10000) / 10000) + "</span>"; |
|
|
|
ret += "<span>"+locale_formula.sum+":" + sum + "</span>"; |
|
|
|
ret += "<span>"+locale_formula.average+":" + Math.round(sum / count * 10000) / 10000 + "</span>"; |
|
|
|
} |
|
|
|
|
|
|
|
if (isFinite(max)) { |
|
|
|
ret += "<span>"+locale_formula.max+":" + update("w", max) + "</span>"; |
|
|
|
ret += "<span>"+locale_formula.max+":" + max + "</span>"; |
|
|
|
} |
|
|
|
|
|
|
|
if (isFinite(min)) { |
|
|
|
ret += "<span>"+locale_formula.min+":" + update("w", min) + "</span>"; |
|
|
|
ret += "<span>"+locale_formula.min+":" + min + "</span>"; |
|
|
|
} |
|
|
|
|
|
|
|
$("#luckysheet-sta-content").html(ret); |
|
|
|