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

fixed xirr test

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68498 954022d7-b5bf-4e40-9824-e11837661b57
parent d87a67c9
......@@ -4664,11 +4664,11 @@
oParser = new parserFormula( "XIRR({-10000,2750,4250,3250,2750},F100:J100,0.1)", "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), 0.3733625335188316 );
ok( difBetween( oParser.calculate().getValue(), 0.3733625335188316 ) );
ws.getRange2( "F100" ).setValue( 0 );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), 0.0024114950175866895 );
ok( difBetween( oParser.calculate().getValue(), 0.0024114950175866895 ) );
} )
......
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