|
@@ -409,14 +409,7 @@ function getResult(pushInfo, textType, constant) {
|
|
|
}
|
|
|
});
|
|
|
num = num + constant
|
|
|
- var dot = JSON.stringify(num).indexOf(".");
|
|
|
- if (dot != -1) {
|
|
|
- var dotCnt = JSON.stringify(num).substring(dot + 1, num.length);
|
|
|
- if (dotCnt.length > 1) {
|
|
|
- num = parseFloat(num).toFixed(1)
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
+ num = parseFloat(num).toFixed(2)
|
|
|
tmp = arr.join(";");
|
|
|
if (pushInfo.length > 0) {
|
|
|
for (var i = 0; i < pushInfo.length; i++) {
|
|
@@ -445,7 +438,6 @@ function getResult(pushInfo, textType, constant) {
|
|
|
result = tmp
|
|
|
proposal = proposals.join(";");
|
|
|
}
|
|
|
-
|
|
|
if (result) {
|
|
|
$(".hel").attr({
|
|
|
"title": proposal
|