Package org.boris.expr.function.excel

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


        assertResult("ROUNDDOWN(-3.14159, 1)", -3.1);
        assertResult("ROUNDDOWN(31415.92654, -2)", 31400.);
    }

    public void testROUNDUP() throws Exception {
        ROUNDUP r = new ROUNDUP();
        assertEquals(eval(r, 3.2, 0), 4.);
        assertEquals(eval(r, 76.9, 0), 77.);
        assertEquals(eval(r, 3.14159, 3), 3.142);
        assertEquals(eval(r, -3.14159, 1), -3.2);
        assertEquals(eval(r, 31415.92654, -2), 31500.);
View Full Code Here

TOP

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

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.