Commit bd2e5e1b authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Asc.floor -> Math.floor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51138 954022d7-b5bf-4e40-9824-e11837661b57
parent 978b35b7
......@@ -573,11 +573,11 @@ function CellAddressUtils(){
var sResult = "";
var n = num - 1;
if (n >= 702) {
val = (Asc.floor(n / 676) - 1) % 26;
val = (Math.floor(n / 676) - 1) % 26;
sResult += String.fromCharCode(val + 65);
}
if (n >= 26) {
val = (Asc.floor(n / 26) - 1) % 26;
val = (Math.floor(n / 26) - 1) % 26;
sResult += String.fromCharCode(val + 65);
}
sResult += String.fromCharCode( (n % 26) + 65);
......
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