Package org.boris.expr.function.excel

Examples of org.boris.expr.function.excel.DB


import org.boris.expr.function.excel.VDB;

public class ExcelFinancialFunctionsTest extends TH
{
    public void testDB() throws Exception {
        DB d = new DB();
        assertEquals(eval(d, 1000000, 100000, 6, 1, 7), 186083.33333333334);
        assertEquals(eval(d, 1000000, 100000, 6, 2, 7), 259639.41666666667);
        assertEquals(eval(d, 1000000, 100000, 6, 3, 7), 176814.44275000002);
        assertEquals(eval(d, 1000000, 100000, 6, 4, 7), 120410.63551274998);
        assertEquals(eval(d, 1000000, 100000, 6, 5, 7), 81999.64278418274);
View Full Code Here

TOP

Related Classes of org.boris.expr.function.excel.DB

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.