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

отображалось 2 знака миллисекунды, когда их занчение-'0'(формат-'hh:mm:ss,0')

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59868 954022d7-b5bf-4e40-9824-e11837661b57
parent 43a313b9
......@@ -1691,7 +1691,9 @@ NumFormat.prototype =
dMs = dTemp * Math.pow(10, 3 - nMsFormatLength);
}
var nExponent = 0;
if (dMs < 10)
if(0 == dMs)
nExponent = -1;
else if (dMs < 10)
nExponent = -2;
else if (dMs < 100)
nExponent = -1;
......
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