Commit c5ec0222 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

this.mathMaxDigCount -> this.settings.mathMaxDigCount

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56273 954022d7-b5bf-4e40-9824-e11837661b57
parent 2d8b1572
...@@ -6300,14 +6300,14 @@ ...@@ -6300,14 +6300,14 @@
// Мы должны отдавать в формате активной ячейки // Мы должны отдавать в формате активной ячейки
var numFormat = range.getNumFormat(); var numFormat = range.getNumFormat();
oSelectionMathInfo.sum = numFormat.formatToMathInfo(sum, CellValueType.Number, this.mathMaxDigCount); oSelectionMathInfo.sum = numFormat.formatToMathInfo(sum, CellValueType.Number, this.settings.mathMaxDigCount);
oSelectionMathInfo.average = numFormat.formatToMathInfo(sum / oSelectionMathInfo.countNumbers, oSelectionMathInfo.average = numFormat.formatToMathInfo(sum / oSelectionMathInfo.countNumbers,
CellValueType.Number, this.mathMaxDigCount); CellValueType.Number, this.settings.mathMaxDigCount);
oSelectionMathInfo.min = numFormat.formatToMathInfo(oSelectionMathInfo.min, CellValueType.Number, oSelectionMathInfo.min = numFormat.formatToMathInfo(oSelectionMathInfo.min, CellValueType.Number,
this.mathMaxDigCount); this.settings.mathMaxDigCount);
oSelectionMathInfo.max = numFormat.formatToMathInfo(oSelectionMathInfo.max, CellValueType.Number, oSelectionMathInfo.max = numFormat.formatToMathInfo(oSelectionMathInfo.max, CellValueType.Number,
this.mathMaxDigCount); this.settings.mathMaxDigCount);
} }
return oSelectionMathInfo; return oSelectionMathInfo;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment