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

Подправленя функция SYD.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57479 954022d7-b5bf-4e40-9824-e11837661b57
parent d32e9f28
......@@ -5122,7 +5122,7 @@ cSYD.prototype.Calculate = function ( arg ) {
life = life.getValue();
per = per.getValue();
if ( life == 1 || life <= 0 || cost < 0 || salvage < 0 || per < 0 ) {
if ( life == 1 || life <= 0 || salvage < 0 || per < 0 ) {
return this.value = new cError( cErrorType.not_numeric );
}
......
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