Package org.boris.expr.function.excel

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


        assertEquals(TH.eval(a, 0.76159416), 1.00000000962971);
        assertEquals(TH.eval(a, -0.1), -0.10033534773);
    }

    public void testCEILING() throws Exception {
        CEILING c = new CEILING();
        assertEquals(TH.eval(c, 2.5, 1), 3.);
        assertEquals(TH.eval(c, -2.5, -2), -2.);
        assertEquals(TH.eval(c, -2.5, 2), ExprError.NUM);
        assertEquals(TH.eval(c, 1.5, 0.1), 1.5);
        assertEquals(TH.eval(c, 0.234, 0.01), 0.24);
View Full Code Here

TOP

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

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.