Commit 9e754880 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

fix: Bug 21579 - Функция YEARFRAC рассчитывается неверно


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50987 954022d7-b5bf-4e40-9824-e11837661b57
parent aaac19d1
......@@ -767,8 +767,8 @@ _func.binarySearch = function ( sElem, arrTagert, regExp ) {
function checkTypeCell( val ) {
if ( val == "" )
return new cEmpty();
else if ( parserHelp.isNumber( val, 0 ) )
return new cNumber( parserHelp.operand_str );
else if ( parseNum(val) )
return new cNumber( val-0 );
else if ( parserHelp.isString( val, 0 ) )
return new cString( parserHelp.operand_str );
else if ( parserHelp.isBoolean( val, 0 ) )
......
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