Package org.boris.expr.function.excel

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


        assertEquals(eval(l, 10, 1), 1.);
        assertEquals(eval(l, 8, 2), 3.);
    }

    public void testLOG10() throws Exception {
        LOG10 l = new LOG10();
        for (int i = 0; i < 100; i++) {
            double d = Math.random() * 1000;
            assertEquals("LOG10 not working", eval(l, d), Math.log10(d));
        }
    }
View Full Code Here

TOP

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

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.