Commit c44427d7 authored by GoshaZotov's avatar GoshaZotov

add FORECAST.LINEAR formula

parent ed9ef665
......@@ -3372,6 +3372,12 @@ $( function () {
} );
test( "Test: \"FORECAST.LINEAR\"", function () {
oParser = new parserFormula( "FORECAST(30,{6,7,9,15,21},{20,28,31,38,40})", "A1", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue().toFixed( 13 ) - 0, 10.6072530864198);
} );
test( "Test: \"FREQUENCY\"", function () {
ws.getRange2( "A202" ).setValue( "79" );
......
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